You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by eugenebalt <eu...@yahoo.com> on 2012/07/12 18:13:30 UTC

Form Submit Button not recognizing latest Ajax changes in included Panel

We have a Form which has a regular Form Submit button (a "Button").

Inside the Form there is a Panel with various actions happening via Ajax.
The Panel has 4 dropdowns where each selection triggers create/delete of
other dropdowns. These Ajax actions are all outsourced to the Panel.

Our problem is that when the Form Submit happens (a regular submit), the
form doesn't know about the latest Ajax actions inside the Panel. For
example, initially, some of the Panel's dropdowns haven't been created yet,
they get created later on as the user interacts with the Panel. 

But on the Form, e.g. when we do validation we need access to all the
Panel's latest-created fields, and they're still NULL because the Form
doesn't know about the latest changes on the Panel.

Is there a way around this, to make the Form aware of the latest Ajax
changes inside the embedded Panel? Thanks

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Form-Submit-Button-not-recognizing-latest-Ajax-changes-in-included-Panel-tp4650481.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org