Also see section 12.5 "Nested forms" of the Free Guide at http://wicket.apache.org/guide/guide/chapter11.html#chapter11_5
On Fri, Jan 10, 2014 at 12:56 PM, Marios Skounakis <msc...@gmail.com> wrote: > Html does not support nested forms. Wicket works around this limitation and > allows form nesting. I think it changes the html so that the inner form > tags become span tags. This means that whenever any of the forms needs to > be posted, everything is posted since in the result html there's only one > form element. > > Wicket provides some mechanisms so that submitting the outer form submits > (validates and updates models) the inner forms too, whereas submitting an > inner form only validates and updates the model for this inner form. > > You can find more details in the wicket free guide ( > https://code.google.com/p/wicket-guide) and at > https://cwiki.apache.org/confluence/display/WICKET/Nested+Forms (not sure > how up-to-date is the latter). > > > > On Fri, Jan 10, 2014 at 7:04 PM, gmparker2000 <greg.par...@brovada.com > >wrote: > > > When submitting an inner form it appears that the request contains all of > > the > > outer and inner form fields. Is this the expected behaviour? From what > I > > can see it appears that the outer form is submitted, and only the inner > > form > > parameters are validated and used for model updates. > > > > -- > > View this message in context: > > http://apache-wicket.1842946.n4.nabble.com/Nested-Forms-tp4663620.html > > Sent from the Users forum mailing list archive at Nabble.com. > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > > For additional commands, e-mail: users-h...@wicket.apache.org > > > > >