you could use call modelchanged on the forms model. Or make the
components take an ajaxrequesttarget, depending if youre using ajax?
You should'nt have to reconstruct them. But that depends if youre using
models or not etc..
Sergey Podatelev wrote:
Hello Wicket people,
I have a user registration page with a couple of dropdown lists on it.
Elements of those lists are alphabetically sorted.
Also, there's a language selector on each page of the application, so
there's also one on the registration page.
The problem is, when user changes language via selector, all dropdown lists
must be reordered to keep being alphabetically sorted.
I guess I have to re-construct my DropDownChoice components for this, but
I'm not sure how to notify the page of the language change event. Can I
somehow make the form on the registration page listen to an unrelated
component's onChange event?
--
-Wicket for love
Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]