tags:

views:

21

answers:

0

I am using the following code that list the checkboxes and output their label values getting from Enum. Currently when I select the checkboxes those get bind to the reAgeHistory and I can submit all of them.

 <t:selectManyCheckbox id="reageHistory"
                           value="#{rule.reAgeHistory}"
                           layout="pageDirection"
                           disabled="#{!mayBeEdited}"
                           converter="#{enumListConverter}"
                           enabledClass="checkBoxLabel"
                           disabledClass="checkBoxLabel"
                           styleClass="checkBoxTable">
       <s:selectItems value="#{reAgeHistoryTypes}" var="item" label="#{item.label}"/>
       <s:convertEnum/>
 </t:selectManyCheckbox>

I want to change it so that when I select one check box I can set rules to enable/disable other specific checkboxes in the group. Do I need to create separate h:selectBooleanCheckbox to achieve this. Any suggestions?