You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Peter Kanze <pe...@gmail.com> on 2009/04/02 16:24:45 UTC

T5: Block with Form + Submit

Hello

I have a tabset, that works with a zone and blocks.

In one block I have a form to send mail and in another block a form for
registration.

De problem is that I cannot catch submit in the correct onSuccessFrom...
Form.

I can only catch the submit events in a general onSuccess() method. But then
I don't know from which form it was.

What am I doing wrong, or how could I handle this?

Thanks
Peter

Re: T5: Block with Form + Submit

Posted by Peter Kanze <pe...@gmail.com>.
Sorry my fault. I solved it.

I didn't used id="mailForm" instead of t:id='"mailForm"

Thanks anyway!
Peter

On Thu, Apr 2, 2009 at 4:24 PM, Peter Kanze <pe...@gmail.com> wrote:

> Hello
>
> I have a tabset, that works with a zone and blocks.
>
> In one block I have a form to send mail and in another block a form for
> registration.
>
> De problem is that I cannot catch submit in the correct onSuccessFrom...
> Form.
>
> I can only catch the submit events in a general onSuccess() method. But
> then I don't know from which form it was.
>
> What am I doing wrong, or how could I handle this?
>
> Thanks
> Peter
>