It is likely that you put a listener on your submit button, which will always execute.
Richard -----Original Message----- From: Antares on Wheels [mailto:[EMAIL PROTECTED] Sent: Friday, October 28, 2005 3:27 PM To: [email protected] Subject: @Form: can't get the Submit method to execute when validation fails Hi all, I have a @Form component with a listener="ognl:listeners.doSubmit" property set on it. There is also a validation delegate for the form, and it works just fine. But when input validation fails, then doSubmit() is never executed. I realize this is expected behavior, but I have seen other code where the "submit" method *did* get executed even on a validation failure. This is what I want to accomplish, but have failed to do so, even after hours of head-banging. Any input would be greatly appreciated. Thanks. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
