, 2013 4:48 AM
Subject: Re: ajax form onSuccess not called
In onSuccess, see whether bookingform.getHasErrors() returns true. To dig
in further, try bookingform.getDefaultTracker().getErrors().
On 27 August 2013 07:26, John wrote:
> I think I found a partial answer to this, some
) are showing as invalid on the page?
>
> John
> - Original Message -
> From: John
> To: users@tapestry.apache.org
> Sent: Monday, August 26, 2013 10:11 PM
> Subject: ajax form onSuccess not called
>
>
> why is onSuccess not invoked but onValidat
I think I found a partial answer to this, some of the input fields (ones marked
disabled="true") are showing as invalid on the page?
John
- Original Message -
From: John
To: users@tapestry.apache.org
Sent: Monday, August 26, 2013 10:11 PM
Subject: ajax form onS
why is onSuccess not invoked but onValidate is?
void onValidateFromBookingform() {
log.debug("validate booking");
}
Object onSuccessFromBookingform() {
log.debug("submit booking");
booking = false;
if (request.isXHR()) {
return booki