Hm, it seems like i can get the behaviour I expect by overiding the inner
form button's onSubmit method and setting setDefaultFormProcessing(false)
on it as in this code.
public class Test extends WebPage {
public Test() {
MandatoryProductsForm outer = new
MandatoryProductsForm("outer
Okay, I stand corrected. We had this question come up on the Tapestry
users group and I don't believe Tapestry supports it (at least it
didn't). I guess I just assumed Wicket didn't either. There's
another reason for me to make the switch! :) I'm going to have to go
look into this. Sounds like
The button's onSubmit gets called, but not the form's onSubmit that the
button is a part of. That's what i can't figure out as the javadoc says it
should only submit the inner form.
/Steen
2008/1/23, Matej Knopp <[EMAIL PROTECTED]>:
>
> You seem to have a button in your search phone. type="su
You seem to have a button in your search phone. wrote:
> According to the javadoc for Form it is possible because the inner form gets
> substituted with span tags. It says:
>
>
> Forms can be nested. You can put a form in another form. Since HTML doesn't
> allow nested tags, the inner forms w
According to the javadoc for Form it is possible because the inner form gets
substituted with span tags. It says:
Forms can be nested. You can put a form in another form. Since HTML doesn't
allow nested tags, the inner forms will be rendered using the
tag. You have to submit the inner forms usi
http://www.thescripts.com/forum/thread95602.html
On 1/23/08, Steen Larsen <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have seen that nested forms should be possible in Wicket 1.3, so i have
> tried to use it in one of my projects, but for some reason when submitting
> the inner form, only the outer
Hi,
I have seen that nested forms should be possible in Wicket 1.3, so i have
tried to use it in one of my projects, but for some reason when submitting
the inner form, only the outer form submit method is run. The code looks
something like this:
In a WebPage class
MandatoryProductsForm