sraeburn 2003/08/10 03:05:51
Modified: doc/userGuide struts-html.xml
src/share/org/apache/struts/taglib/html RewriteTag.java
Log:
Added action attribute to rewrite tag.
PR: 22261
Revision Changes Path
1.58 +17 -0 jakarta-struts/doc/userGuide/struts-html.xml
Index: struts-html.xml
===================================================================
RCS file: /home/cvs/jakarta-struts/doc/userGuide/struts-html.xml,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -r1.57 -r1.58
--- struts-html.xml 10 Aug 2003 09:14:04 -0000 1.57
+++ struts-html.xml 10 Aug 2003 10:05:51 -0000 1.58
@@ -5550,6 +5550,23 @@
a JavaScript procedure.</p>
</info>
+ <attribute>
+ <name>action</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <info>
+ <p>Logical name of a <code>Action</code> that
+ contains the actual content-relative URI of the destination
+ of this transfer. This hyperlink may be dynamically
+ modified by the inclusion of query parameters, as described
+ in the tag description. You <strong>must</strong> specify
+ exactly one of the <code>action</code> attribute, the
+ <code>forward</code> attribute, the
+ <code>href</code> attribute, or the <code>page</code>
+ attribute.</p>
+ </info>
+ </attribute>
+
<attribute>
<name>anchor</name>
<required>false</required>
1.15 +5 -5
jakarta-struts/src/share/org/apache/struts/taglib/html/RewriteTag.java
Index: RewriteTag.java
===================================================================
RCS file:
/home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/html/RewriteTag.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- RewriteTag.java 31 Jul 2003 00:25:39 -0000 1.14
+++ RewriteTag.java 10 Aug 2003 10:05:51 -0000 1.15
@@ -102,7 +102,7 @@
forward,
href,
page,
- null,
+ action,
params,
anchor,
false,
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]