0 Replies Latest reply on Aug 5, 2009 9:19 AM by madhu reddy

    select many check box

    madhu reddy Newbie
      hi,

               I have a problem regarding select many check box.when i edit particular user corresponding groups are displaying but they are not checked.


      this is my code


        <h:selectManyCheckbox id="roles" >
                      <s:selectItems value="#{user.userGroups}" var="grp" label="#{grp.group.name}"/>
                    </h:selectManyCheckbox>


      how can i get checked values.can any one help me.


      thanking u