Re: Form event handler not being called

2008-05-04 Thread Toby Hobson
AIL PROTECTED]> To: Tapestry users 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 Black

Re: Form event handler not being called

2008-05-04 Thread Toby Hobson
008 12:09:00 To:"Tapestry users" , "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() { > ... > } > @O

Re: Form event handler not being called

2008-05-04 Thread Thiago HP
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.

Form event handler not being called

2008-05-04 Thread Toby Hobson
Can anyone see anything which is wrong with this code: EditPhoto.tml: EditPhoto.java public void onSubmitFromEditPhoto() { ... } my event handler is not being called, I have also tried @OnEvent(value="submit", component="editPhoto") public void update() { ... } but this doesn't wo