This content has been marked as final.
Show 3 replies
-
1. Re: unable to reterive updated value
nimo22 Feb 24, 2009 3:13 PM (in response to waq)do the same as with state:
City: <h:selectOneMenu value="#{Test.city}" id="cityList"> <f:selectItems value="#{Test.cities}"/> <a4j:support event="onchange" reRender="cityList"/> </h:selectOneMenu>
-
2. Re: unable to reterive updated value
waq Feb 25, 2009 5:33 AM (in response to waq)Still not working. Its just re-rendering the city list on change event.
do the same as with state:
City:
<h:selectOneMenu value="#{Test.city}" id="cityList">
<f:selectItems value="#{Test.cities}"/>
<a4j:support event="onchange" reRender="cityList"/>
</h:selectOneMenu>
But what is the need of putting ajax support to the city list as i need to get the values of both list on page submit? Values of both list should be rendered on page submit without ajax support, rite? -