I suggest you take a look at the "Wicket Free Guide": http://wicket.apache.org/learn/books/freeguide.html
Nested forms are covered in section "10.5 Nested forms" on page 95. For a brief summary you can also search the Wicket wiki pages: https://cwiki.apache.org/WICKET/nested-forms.html ~ Thank you, Paul Bors On Wed, Jun 12, 2013 at 3:42 PM, Jeremy Thomerson <jer...@wickettraining.com > wrote: > On Wed, Jun 12, 2013 at 3:26 PM, Richard W. Adams <rwada...@up.com> wrote: > > > Well, first, HTML doesn't allow nested forms, per the w3.org site. > Second, > > the search fields need to be part of the overall form, because they > (along > > with the other fields) are persisted if the user presses the Save button. > > > > Be careful about the tone of your email. You may not have meant it this > way, but it sounds a bit snarky and disrespectful. Sven knows what he's > talking about, and it would be rude if you meant to imply that he doesn't. > > To your points: > > 1) HTML may not allow nested forms, but Wicket does. It handles this > automatically for you. Try it some time. > 2) Okay, Sven didn't know that because it wasn't mentioned in your first > email. > > Solution for your problem: > > Use two buttons - one for "save", one for "search". Move your onSubmit > logic out of your form and into each button. > > > -- > Jeremy Thomerson > http://wickettraining.com > *Ask me about our plans for on-line training lessons.* >