Hi All,
I have the following hierarchy
And in side the form i have the form components , and i have attached  AjaxFormComponentUpdatingBehavior to one of the dropdowns to populate another.
And all that works fine, but when i do the submit, the first time the ajax populated field's value doesn't get set to the model object.
But it gets set the second time onwards.
Has anyone come accross this porblem.
I am attaching the sample files.
Kind Regards
This example demonstrates a AjaxSelfUpdatingBehavior. This behavior can be attached to any component to make it update itself. The clock below is updated every five seconds.

Attachment: ChoiceModel.java
Description: Binary data

Attachment: ChoicePanel.java
Description: Binary data

Attachment: HomePage.java
Description: Binary data

Attachment: ChoiceForm.java
Description: Binary data

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
Wicket-user mailing list

Reply via email to