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>
<a4j:outputPanel id="PanelSizeSelectionPanel"> <t:selectManyCheckbox id="PanelSizeSelection" layout="pageDirection" value="#{panelizationProperties.selectedPanelIDs}"> <f:selectItems value="#{panelizationProperties.panelSizeSelectItems}" /> </t:selectManyCheckbox> </a4j:outputPanel>
I had the same issue but putting the sleectOneMenu (or in my case a commandLink) in an a4j:region solved it.
The solution was here http://www.jboss.com/index.html?module=bb&op=viewtopic&t=114682
Cheers,
Damian.