You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by cr...@apache.org on 2002/08/03 20:43:40 UTC
cvs commit: jakarta-struts/doc/userGuide struts-html.xml struts-logic.xml
craigmcc 2002/08/03 11:43:40
Modified: doc/stylesheets userGuide.xsl
doc/userGuide struts-html.xml struts-logic.xml
Log:
The stylesheets for tag library documentation now support <since> and
<deprecated> at both the tag level and the attribute level. The body content
of the element should be a short string, similar to what you would write
after a @since or @deprecated JavaDoc marker.
Revision Changes Path
1.8 +15 -1 jakarta-struts/doc/stylesheets/userGuide.xsl
Index: userGuide.xsl
===================================================================
RCS file: /home/cvs/jakarta-struts/doc/stylesheets/userGuide.xsl,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- userGuide.xsl 3 Aug 2002 18:20:03 -0000 1.7
+++ userGuide.xsl 3 Aug 2002 18:43:40 -0000 1.8
@@ -221,6 +221,13 @@
</td></tr>
<tr><td>
<blockquote>
+ <xsl:if test="deprecated">
+ <p><font color="red"><strong>DEPRECATED: </strong></font>
+ <xsl:value-of select="deprecated"/></p>
+ </xsl:if>
+ <xsl:if test="since">
+ <p>Since: <xsl:value-of select="since"/></p>
+ </xsl:if>
<xsl:apply-templates select="info"/>
</blockquote>
</td></tr>
@@ -250,6 +257,13 @@
<xsl:value-of select="name"/>
</td>
<td>
+ <xsl:if test="deprecated">
+ <p><font color="red"><strong>DEPRECATED: </strong></font>
+ <xsl:value-of select="deprecated"/></p>
+ </xsl:if>
+ <xsl:if test="since">
+ <p>Since: <xsl:value-of select="since"/></p>
+ </xsl:if>
<xsl:apply-templates select="info"/>
<xsl:variable name="required">
<xsl:value-of select="required"/>
1.17 +3 -3 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.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- struts-html.xml 20 Jul 2002 16:47:22 -0000 1.16
+++ struts-html.xml 3 Aug 2002 18:43:40 -0000 1.17
@@ -4759,14 +4759,14 @@
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<info>
- Name of the bean (in some scope) that will return the
+ <p>Name of the bean (in some scope) that will return the
value of the radio tag. Usually exposed
by an iterator. When the idName attribute is
present, the valueattribute is used as the name of the
property on the idName bean that will return the
- value of the radio tag for this iteration.
- Since Struts 1.1.
+ value of the radio tag for this iteration.</p>
</info>
+ <since>Struts 1.1</since>
</attribute>
1.6 +6 -3 jakarta-struts/doc/userGuide/struts-logic.xml
Index: struts-logic.xml
===================================================================
RCS file: /home/cvs/jakarta-struts/doc/userGuide/struts-logic.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- struts-logic.xml 13 May 2002 02:54:28 -0000 1.5
+++ struts-logic.xml 3 Aug 2002 18:43:40 -0000 1.6
@@ -76,8 +76,9 @@
</summary>
<tagclass>org.apache.struts.taglib.logic.EmptyTag</tagclass>
<bodycontent>JSP</bodycontent>
+ <since>Struts 1.1</since>
<info>
- <p>[Since 1.1] This tag evaluates its nested body content only if the specified value
+ <p>This tag evaluates its nested body content only if the specified value
is either absent (i.e. <code>null</code>), an empty string (i.e. a
<code>java.lang.String</code> with a length of zero) or an empty java.util.Collection
(tested by the .isEmpty() method on the java.util.Collection interface).</p>
@@ -897,8 +898,9 @@
</summary>
<tagclass>org.apache.struts.taglib.logic.MessagesNotPresentTag</tagclass>
<bodycontent>JSP</bodycontent>
+ <since>Struts 1.1</since>
<info>
- <p>[since 1.1] Evaluates the nested body content of this tag if
+ <p>Evaluates the nested body content of this tag if
an <code>ActionMessages</code>
object, <code>ActionErrors</code> object, a String,
or a String array is not in request scope. If
@@ -953,8 +955,9 @@
</summary>
<tagclass>org.apache.struts.taglib.logic.MessagesPresentTag</tagclass>
<bodycontent>JSP</bodycontent>
+ <since>Struts 1.1</since>
<info>
- <p>[since 1.1] Evaluates the nested body content of this tag if
+ <p>Evaluates the nested body content of this tag if
an <code>ActionMessages</code>
object, <code>ActionErrors</code> object, a String,
or a String array is in request scope. If
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>