1 Reply Latest reply on Nov 24, 2007 2:01 PM by damianharvey

    selectManyCheckbox does not reRender

    pottersc

      I am having problems updating the dynamically changing the selected items in a selectManyCheckBox in reponse to a user selection from a pull down menu.
      The pull down menu is defined as follows:

      <h:selectOneMenu id="SectorSelect">
       <f:selectItems value="#{panelizationProperties.sectorSelectItems}"/>
       <a4j:support immediate="true" event="onchange" actionListener="#{panelizationProperties.updateSectorDependencies}" reRender="PanelSizeSelectionPanel"/>
       </h:selectOneMenu>

      The code that displays the checkboxes is defined as follows:
      <a4j:outputPanel id="PanelSizeSelectionPanel">
       <t:selectManyCheckbox id="PanelSizeSelection" layout="pageDirection" value="#{panelizationProperties.selectedPanelIDs}">
       <f:selectItems value="#{panelizationProperties.panelSizeSelectItems}" />
       </t:selectManyCheckbox>
       </a4j:outputPanel>


      The actionListener is working as expected and is changing the values of the selectedPanelIDs string array properly based on changes in the pull down menu selection. I have set and get methods for selectedPanelIDs.

      Any assistance on resolving this problem is greatly appreciated.