0 Replies Latest reply on Sep 2, 2009 10:08 AM by João Cordeiro

    Images on h:selectOneRadio

    João Cordeiro Newbie

      Hi there.


      I'm having some problems on putting images on each selectItem that constitute a selectOneRadio component.


      What i need:
        RadioButtonGroup
         



      • Img1  Option1




        



      •   Img2  Option2




        



      •   Img3  Option3







      What i'm getting:
      RadioButtonGroup
         



      • Option1




         



      • Option2




         



      • Option3





      my code:


      <h:selectOneRadio value="#{serviceFeedback.choosenOpt1}" layout="pageDirection">
        <f:selectItems value="#{serviceFeedback.getSelectItemsGroup(1)}" />
      </h:selectOneRadio>




      Thanks in advance