I have the following reRender tag on the button
<a4j:commandButton action="#{speedDial.InsertNewRecord}"
value="Save" reRender="dataEntry" />
In the stateful bean it actually modifies the value of the list but this form element
inside
<a4j:outputPanel id="dataEntry" >
does not update the values to the new one. Here is the drop down code.
<h:selectOneMenu id="selectedSDCode"
value="#{speedDial.selectedSDCode}" >
| <s:selectItems var="sd" value="#{speedDial.speedDialCodes}"
/>
| </h:selectOneMenu>
Although if i refresh the page, the drop down gets updated with correct values. The list
is called speedDialCodes.
I would rather prefer to use Ajax and not have the page refresh. Is there any solution to
my issue please?
Thanks.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4112860#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...