Hello I have a form with a selectOneMenu and a selectManyPicklist when item in selectOneMenu changes the content of the Picklist will change depend on the category selected in selectOneMenu.
the problem is when I make some change in the picklist and want to save them it seems the selected items won't change please take a look at the image attached to this thread here is the code inside the xhtml page: ------------------------- <h:form id="settingForm"> <h:panelGrid id="uiGrid" columns="1" align="center" style="text-align:center"> <h:panelGroup id="groupingTop"> <h:outputLabel id="categorylabel" for="categoryList1" value="Select a Category:"> <t:selectOneMenu id="categoryList1" required="true" valueChangeListener="#{userSetting.processValueChanged}" binding="#{userSetting.selectOneCategory}"> <f:selectItems id="selectcategory" value="#{userSetting.categorySelectItem}" /> </t:selectOneMenu> </h:outputLabel> <h:commandButton id="loadButton" value="Load" class="button" /> </h:panelGroup> <hr/> <c:forEach items="#{userSetting.selectedItems}" var="s"> ${s}<br/> </c:forEach> <h:outputLabel id="picklistlabel" for="pickList" value="Select fields:"> <s:selectManyPicklist id="pickList" size="10" value="#{userSetting.selectedItems}" immediate="true" valueChangeListener="#{userSetting.pickListValueChanged}"> <s:selectItems id="columnHeadersSelectItems" value="#{userSetting.columns}" var="column" itemValue="#{column.name}" itemLabel="#{column.label}" /> </s:selectManyPicklist> </h:outputLabel> <hr/> <h:panelGroup id="groupingButtom"> <h:commandButton id="applyButton" value="Apply" class="button" /> <h:commandButton id="continueButton" value="Continue" class="button" action="#{userSetting.continueNextPage}" /> </h:panelGroup> <br /> <s:pprPanelGroup id="pprPanelall" align="center" partialTriggers="applyButton" style="font-color:green;font-family:tahoma;font-size:11px" inlineLoadingMessage="please wait..."> <f:verbatim escape="true"> • </f:verbatim> <h:outputText style="color:green;font-family:tahoma;font-size:11px" value="#{userSetting.message}" /> </s:pprPanelGroup> <h:messages id="allMsg" styleClass="textInfo" showSummary="true" showDetail="true" errorClass="textError" infoClass="textInfo" /> </h:panelGrid> </h:form> ------------------------- when I change the category and press Load button the new values in the right list is not correct when I make change in picklist and press Apply button it will save the new changes properly but when again I change the category and press the Load button the new values of last selected Items will be applied!!! http://www.nabble.com/file/p10705805/untitled.jpg the #{userSetting.selectedItems} won't change at all -- View this message in context: http://www.nabble.com/selected-items-in-picklist-dont-change%21%21-tf3785723.html#a10705805 Sent from the MyFaces - Users mailing list archive at Nabble.com.