craigmcc 01/04/19 17:26:52
Modified: doc struts-html.xml
Log:
Add a warning that using <html:cancel property="..."/> will disable the
standard cancellation detection that is performed by the controller
servlet and the Action.isCancelled() method.
In general, this attribute should not be used. However, in the interest
of maintaining backwards compatibility, I'm not removing it.
PR: Bugzilla #1291
Submitted by: Scott Cressler <[EMAIL PROTECTED]>
Revision Changes Path
1.6 +5 -0 jakarta-struts/doc/struts-html.xml
Index: struts-html.xml
===================================================================
RCS file: /home/cvs/jakarta-struts/doc/struts-html.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- struts-html.xml 2001/04/18 23:10:21 1.5
+++ struts-html.xml 2001/04/20 00:26:52 1.6
@@ -442,6 +442,11 @@
<info>
Name of the request parameter that will be included with this
submission, set to the specified value.
+ <strong>WARNING</strong> - If you set this attribute to a
+ value other than the default, this will <em>NOT</em> be
+ recognized as the cancel key by the Struts controller servlet
+ or the <code>Action.isCancelled()</code> method. You will
+ need to do your own cancel detection.
</info>
</attribute>