using html:cancel bypasses form bean validate method
http://struts.apache.org/struts-taglib/tagreference-struts-html.html#cancelHTH----- Original Message ----- From: "April Francis" <[EMAIL PROTECTED]>
To: <user@struts.apache.org>
Sent: Friday, October 28, 2005 12:30 PM
Subject: Struts 1.1 and Validation


On Struts 1.1, does the <html:cancel> tag work?

Example:
If I click on the cancel button below, will validation be ignored?

<html:cancel onClick="bCancel=true;">
<bean:message...../>
<html:cancel>

I have put the above in my jsp, but the struts validation still runs when I use the cancel button. I'm thinking maybe struts 1.1 doesn't have the necessary
pieces in place????  If so, then how can I handle a cancel?

thank you,
April


---------------------------------------------------------------------
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