Fixed it! Our designer added a form to our border.tml so we had a nested form 
which messed things up.

Btw ... I believe the form component fires onSuccess and onSubmit events, 
onSuccess only fires if the form has passed validation

Toby

----- Original Message ----
From: Toby Hobson <[EMAIL PROTECTED]>
To: Tapestry users <users@tapestry.apache.org>
Sent: Sunday, 4 May, 2008 4:35:56 PM
Subject: Re: Form event handler not being called

I tried onSuccessFromEditPhoto() but that doesnt work either.

Something is happening though because the url changes and adds a massive query 
parameter

Toby

Sent using BlackBerry® from Orange

-----Original Message-----
From: "Thiago HP" <[EMAIL PROTECTED]>

Date: Sun, 4 May 2008 12:09:00 
To:"Tapestry users" <users@tapestry.apache.org>, "Toby Hobson" <[EMAIL 
PROTECTED]>
Subject: Re: Form event handler not being called


On Sun, May 4, 2008 at 10:44 AM, Toby Hobson <[EMAIL PROTECTED]> wrote:
>  public void onSubmitFromEditPhoto() {
>   ...
>  }
>  @OnEvent(value="submit", component="editPhoto")
>  public void update() {
>   ...
>  }

The form component does not fire a "submit" event, firing a "success"
one instead.

-- 
Thiago

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Reply via email to