Re: Hook Before Form Validation on a Button

2010-02-11 Thread Igor Vaynberg
make your button setusedefaultformprocessing(false) and trigger validation of the form yourself. -igor On Thu, Feb 11, 2010 at 10:28 AM, Tony Wu wrote: > For form submission I can override onSubmit to do my own processing, but is > there anything I can override that happens BEFORE the form valid

Hook Before Form Validation on a Button

2010-02-11 Thread Tony Wu
For form submission I can override onSubmit to do my own processing, but is there anything I can override that happens BEFORE the form validation? I need to for example, based on which Button they press, .setRequired(false) on some components before the form processing kicks in. I tried @Override