If you're talking about client-side validation, you should lookinto dojo's "around-advice" event connection model. You can use it to set up pretty complex conditional client-side validation checks.
</bd> On 1/16/07, Ben Dotte <[EMAIL PROTECTED]> wrote:
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]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]