You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Piller Sébastien <pi...@hmcrecord.ch> on 2007/11/14 13:52:08 UTC

Usage of nested forms

Hello,

I would like to nest several forms into another one. Each form has its 
own "submit" button, with some code related to it. They are all defined 
as panels, in theire own files.

When I put a form into its parent, then the nested form's "onSubmit" is 
no more used and only the parent's onSubmit is called.

Is there a  way to keep the original behavior of each form? I searched 
the wiki but didn't find anything useful.

Thank you for your help ;)

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


Re: Usage of nested forms

Posted by Pills <pi...@hmcrecord.ch>.
Please ignore my previous post. I'd make a big mistake, I'd override
"onSubmit" from the button and not from the form

Now everything works fine

;)

-- 
View this message in context: http://www.nabble.com/Usage-of-nested-forms-tf4804894.html#a13763909
Sent from the Wicket - User 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