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

    selectManyCheckbox does not reRender

    Scott Potter Newbie

      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"/>

      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}" />

      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.