You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Nadia Kunkov <na...@parkerglobal.com> on 2005/01/18 20:01:36 UTC

html:cancel tries to validate, but works on other page

Hi,
I have two almost identical jsp pages with cancel buttons.
<html:cancel property="method"  value="cancel"></html:cancel>
I'm using dispatch action so method "cancel" in my action just does a forward to some other page.
In the documentation it's said that cancel ".......causes the action servlet to bypass calling the associated form bean validate() method".   In one of the jsp pages this works fine. I click cnacel, no validation happens and I get properly forwarded. But on the other page that is almost identical to the first one, when I click cancel it goes right into the validate() method.  I've checked numerous times that these two jsp pages are set up identically.
Any ideas why this could happen?  It seems really strange.  I'm probably missing something.
Any help would be appreciated.

Thanks
Nadia



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org