You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Dave Kallstrom <da...@gmail.com> on 2010/01/29 22:04:22 UTC

nested forms onSubmit

Hi,
Is there anyway to notify nested forms that they are being submitted?  The
onSubmit method of nested forms do not get called when the parent form is
submitted.
I tried implementing IFormSubmitListener but that didn't seem to help.

-- 
Dave Kallstrom

Re: nested forms onSubmit

Posted by Martijn Dashorst <ma...@gmail.com>.
VisitChildren(Form.class, ........)

Martijn

On Friday, January 29, 2010, Dave Kallstrom <da...@gmail.com> wrote:
> Hi,
> Is there anyway to notify nested forms that they are being submitted?  The
> onSubmit method of nested forms do not get called when the parent form is
> submitted.
> I tried implementing IFormSubmitListener but that didn't seem to help.
>
> --
> Dave Kallstrom
>

-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.4 increases type safety for web applications
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.4

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


Re: nested forms onSubmit

Posted by Dave Kallstrom <da...@gmail.com>.
Nested forms in wicket component hierarachy. Not in html. You can nest forms
in wicket which are replaced when the page is rendered and swapped out for
divs.
http://cwiki.apache.org/WICKET/nested-forms.html

On Fri, Jan 29, 2010 at 5:38 PM, Riyad Kalla <rk...@gmail.com> wrote:

> Are nested forms a valid HTML construct? I'm running through the use-case
> here in my head and it doesn't click -- form submission is 1:1 with an HTTP
> POST, what do multiple embedded forms even mean in this regard?
>
> I don't think this is kosher...
>
> On Fri, Jan 29, 2010 at 2:04 PM, Dave Kallstrom <dave.kallstrom@gmail.com
> >wrote:
>
> > Hi,
> > Is there anyway to notify nested forms that they are being submitted?
>  The
> > onSubmit method of nested forms do not get called when the parent form is
> > submitted.
> > I tried implementing IFormSubmitListener but that didn't seem to help.
> >
> > --
> > Dave Kallstrom
> >
>



-- 
Dave Kallstrom

Re: nested forms onSubmit

Posted by Riyad Kalla <rk...@gmail.com>.
Are nested forms a valid HTML construct? I'm running through the use-case
here in my head and it doesn't click -- form submission is 1:1 with an HTTP
POST, what do multiple embedded forms even mean in this regard?

I don't think this is kosher...

On Fri, Jan 29, 2010 at 2:04 PM, Dave Kallstrom <da...@gmail.com>wrote:

> Hi,
> Is there anyway to notify nested forms that they are being submitted?  The
> onSubmit method of nested forms do not get called when the parent form is
> submitted.
> I tried implementing IFormSubmitListener but that didn't seem to help.
>
> --
> Dave Kallstrom
>