You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by jh...@inst.strykercorp.com on 2000/06/20 15:44:01 UTC

[PATCH] Check for form cancel before calling validate

This patch implements checking for form cancellation before form
validation in the Struts action servlet.  It uses the method proposed by
Craig in a previous discussion of this issue.

This patch includes:

- new CancelTag (and tags.html update)
- added check for cancellation in ActionServlet
- added isCancel(request) method to ActionBase
- updated example to use above

This patch should apply cleanly from within the jakarta-struts directory
with: patch -p1 < patchfile.

-jh

-- 
Jeff Hutchison <jh...@inst.strykercorp.com>
Stryker Instruments, Kalamazoo, MI