You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by John <jo...@quivinco.com> on 2013/05/24 11:01:43 UTC
failing form validation without a recordError
When an exception occurs in form validation I would like to be able to block the onSuccess method without setting a form error. I will display a notification using a seperate property.
Is that possible?
John
Re: failing form validation without a recordError
Posted by Shing Hing Man <ma...@yahoo.com>.
Have you tried the following ?
public Object onFailureFromForm() {
// clears validation
getForm().clearErrors();
// set your error message elsewhere
return this;
}
________________________________
From: John <jo...@quivinco.com>
To: users@tapestry.apache.org
Sent: Friday, May 24, 2013 10:01 AM
Subject: failing form validation without a recordError
When an exception occurs in form validation I would like to be able to block the onSuccess method without setting a form error. I will display a notification using a seperate property.
Is that possible?
John
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org