Hello, Can I have several value change listener methods in a backing beans as follows??
bean: *public* *void* marketCodeChanged(ValueChangeEvent evt){ log.info("marketCodeChanged"); this.marketCode = (String) evt.getNewValue(); this.contractCodeDisabled = *false*; } *public* *void* contractCodeChanged(ValueChangeEvent evt){ log.info("contractCodeChanged"); this.contractCode = (String) evt.getNewValue(); } jsp: <h:form id="formOne"> <h:panelGrid columns="2" cellpadding="5" style="background-color: red;"> <h:selectOneMenu id="marketCode" value="#{PopulateListsBean.marketCode}" valueChangeListener="#{PopulateListsBean.marketCodeChanged}" disabled="#{PopulateListsBean.marketCodeDisabled}"> <a4j:support event="onchange" reRender="contractCode, displayMarketCode"/> <f:selectItems id="marketCodes" value="#{PopulateListsBean.marketCodesFromEjbTier}"/> </h:selectOneMenu> <h:selectOneMenu id="contractCode" value="#{PopulateListsBean.contractCode}" valueChangeListener="#{PopulateListsBean.contractCodeChanged}" disabled="#{PopulateListsBean.contractCodeDisabled}"> <a4j:support event="onchange" reRender="displayContractCode"/> <f:selectItems id="contractCodes" value="#{PopulateListsBean.contractCodesFromEjbTier}"/> </h:selectOneMenu> </h:panelGrid> <h:panelGroup> <h:commandButton value="Submit" action=""/><% /* todo: action */ %> </h:panelGroup> <h:messages/> </h:form> It seems that only the marketCodeChanged method is called as if only one value change listener method could be called.... Any help greatly appreciated. Julien.