What I usually do is check for isCancelled() in my Action (or
BaseAction) before anything else so I can forward to the appropriate
place if cancel was clicked.

As for the validation, I had to put my validation in a private method
in the Action instead of using the one in the ActionForm.

On Wed, 08 Sep 2004 08:54:19 +0000, andy wix <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> Has anyone else had a problem with this?
> I am using Struts 1.1 but presume it has worked in this and previous
> versions as it must come up in almost every project.
> I cannot switch validation to false as my submit button does require
> validation.
> I suppose I could put the cancel and submit buttons inside seperate form
> tags but this seems a little contrived.
> 
> Thanks,
> Andy
> 
> _________________________________________________________________
> It's fast, it's easy and it's free. Get MSN Messenger today!
> http://www.msn.co.uk/messenger
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 



-- 
For me to poop on!
http://www.formetopoopon.com
http://www.nbc.com/nbc/Late_Night_with_Conan_O'Brien/video/triumph.shtml

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to