Hi,

I have these two DropDownChoices (A and B) and I am refreshing the choices
in B through Ajax when the selection in A changes.
AjaxFormComponentUpdatingBehavior works fine, no problems here.

In my case many of the choices in B are common for all the possible
selections in A.  Consider the case that the user has already made a
selection in B, changes his mind and flips A.

What is happening now is of course, B is completely reset.  What I would
like is that if the earlier selected value of B is still available in the
new, refreshed list of choices, I would like that "pre-selected".

I'm guessing that in the Ajax request to the server I need to be able to
send the information about what is currently selected in B.  How can I do
this?

Hope this makes sense!

Thanks,

Peter.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to