You can also use Form's "refresh" listener to bypass client-side
validation. Note that calling clearErrors() on the validation delegate
can have undesired consequences:

http://issues.apache.org/jira/browse/TAPESTRY-867

Ben

-----Original Message-----
From: Patrick Klein [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 16, 2007 2:39 AM
To: Tapestry users
Subject: Re: Submit form and bypass validation

Hi!
> Is it possible to have a submit button on a form that can call a
> listener bypassing any validation set for the form (without having to
> explicitly code around validation in the listener)? This is useful
when
> buttons modify the structure of the form: e.g add or remove form
> components.
>   
You could clear the errors saved in the forms delegate using its 
clearErrors() method in this specific listener.

    Patrick

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


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

Reply via email to