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
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
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.
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