Hi folks,

I find myself occasionally using nested forms in my Wicket apps. With
nested forms, when the outer form is submitted, it triggers a
validation and submission of any inner forms as well. In some
cases I don't want this behaviour, but instead I want the inner form and
outer form to be independent of one another.

The way I've approached this is to put a disabled form in between the
outer form and the inner form, which effectively blocks the outer form's
submission from propagating to the inner form. It works, but it's ugly.

Is there a better way to do this? One thought I had was to make this an
explicit setting on the Form class (e.g.
setIgnoreParentSubmissions(true)), but currently I can't see a better
way to do it.

jk

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to