The commandButton component extends h:commandButton, adding named types and device theme support, as well as a selected state for combination with a buttonGroup.

<mobi:buttonGroup
    orientation="horizontal">
   <mobi:commandButton
       selected="false">
      Yes</mobi:commandButton>
   <mobi:commandButton
       selected="true">
      No</mobi:commandButton>
</mobi:buttonGroup>