You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by cm...@apache.org on 2002/03/20 16:50:58 UTC
cvs commit: jakarta-slide/src/doc/stylesheets project.xml slide.xsl
cmlenz 02/03/20 07:50:58
Modified: src/doc Tag: SLIDE_1_0 struts-taglib.xml
src/doc/stylesheets Tag: SLIDE_1_0 project.xml slide.xsl
Added: src/doc Tag: SLIDE_1_0 jstl-taglib.xml
Log:
Porting taglib documentation changes
Revision Changes Path
No revision
No revision
1.5.2.1 +21 -6 jakarta-slide/src/doc/struts-taglib.xml
Index: struts-taglib.xml
===================================================================
RCS file: /home/cvs/jakarta-slide/src/doc/struts-taglib.xml,v
retrieving revision 1.5
retrieving revision 1.5.2.1
diff -u -r1.5 -r1.5.2.1
--- struts-taglib.xml 29 Sep 2001 13:12:52 -0000 1.5
+++ struts-taglib.xml 20 Mar 2002 15:50:57 -0000 1.5.2.1
@@ -23,18 +23,33 @@
<uri>http://jakarta.apache.org/slide/tags-struts-1.0</uri>
<info>
<p>
- The Slide Tag Library for Struts provides many tags for building a
- web interface to Slide. These tags are designed to integrate well
+ The <a href="http://jakarta.apache.org/slide/">Jakarta Slide</a>
+ project includes JSP tag libraries to support the creation of
+ web-based presentation layers accessing and displaying content
+ stored in Slide repositories.
+ </p>
+ <p>
+ To keep the tag library code lean, we have to decided to rely on
+ existing tag libraries to support basic functionality like iteration
+ and conditionals. Two such libraries are currently supported:
+ <strong>Struts 1.x</strong> and the <strong>JSP Standard Tag Library
+ (JSTL) Early Access</strong> releases. The Slide tag library cannot
+ effectively be used on its own, but requires one of the above
+ fundamental libraries.
+ </p>
+ <p>
+ The tag library for Struts provides many tags for building a web
+ interface to Slide. These tags are designed to integrate well
with the Struts tag library and application framework.
</p>
<p>
- For more information on Struts see the
+ For more information on Struts see
<a href="http://jakarta.apache.org/struts/">
http://jakarta.apache.org/struts/</a>.
</p>
<p>
- <b>WARNING:</b> This tag library should be considered experimental
- and might undergo some drastic changes in the future.
+ <strong>WARNING:</strong> This tag library should be considered
+ experimental and might undergo some drastic changes in the future.
</p>
</info>
@@ -253,7 +268,7 @@
</attribute>
<attribute>
<name>resolveLinks</name>
- <required>true</required>
+ <required>false</required>
<rtexprvalue>true</rtexprvalue>
<info>
<p>
No revision
No revision
1.1.2.1 +0 -0 jakarta-slide/src/doc/jstl-taglib.xml
Index: jstl-taglib.xml
===================================================================
RCS file: /home/cvs/jakarta-slide/src/doc/jstl-taglib.xml,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -u -r1.1 -r1.1.2.1
No revision
No revision
1.5.2.1 +2 -0 jakarta-slide/src/doc/stylesheets/project.xml
Index: project.xml
===================================================================
RCS file: /home/cvs/jakarta-slide/src/doc/stylesheets/project.xml,v
retrieving revision 1.5
retrieving revision 1.5.2.1
diff -u -r1.5 -r1.5.2.1
--- project.xml 7 Oct 2001 04:05:47 -0000 1.5
+++ project.xml 20 Mar 2002 15:50:58 -0000 1.5.2.1
@@ -34,6 +34,7 @@
<menu name="HOW-TOs">
<item name="Tomcat Howto" href="howto-tomcat.html"/>
<item name="JDBC Stores Howto" href="howto-jdbcstore.html"/>
+ <item name="J2EE Stores Howto" href="howto-j2eestore.html"/>
</menu>
<menu name="Programmer's Corner">
<item name="Architecture" href="architecture.html"/>
@@ -54,6 +55,7 @@
<item name="UML" href="uml/index.html"/>
<item name="JavaDoc" href="javadoc/index.html"/>
<item name="WebDAV Client Javadoc" href="clientjavadoc/index.html"/>
+ <item name="Tag Library (JSTL)" href="jstl-taglib.html"/>
<item name="Tag Library (Struts)" href="struts-taglib.html"/>
</menu>
1.4.2.2 +75 -28 jakarta-slide/src/doc/stylesheets/slide.xsl
Index: slide.xsl
===================================================================
RCS file: /home/cvs/jakarta-slide/src/doc/stylesheets/slide.xsl,v
retrieving revision 1.4.2.1
retrieving revision 1.4.2.2
diff -u -r1.4.2.1 -r1.4.2.2
--- slide.xsl 18 Mar 2002 14:25:49 -0000 1.4.2.1
+++ slide.xsl 20 Mar 2002 15:50:58 -0000 1.4.2.2
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
-<!-- Temporary Stylesheet for Catalina Developer Documentation -->
-<!-- $Id: slide.xsl,v 1.4.2.1 2002/03/18 14:25:49 cmlenz Exp $ -->
+<!-- Stylesheet for Slide Website and Documentation -->
+<!-- $Id: slide.xsl,v 1.4.2.2 2002/03/20 15:50:58 cmlenz Exp $ -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
@@ -25,6 +25,8 @@
<xsl:variable name="sub-banner-fg" select="'#ffffff'"/>
<xsl:variable name="source-color" select="'#023264'"/>
<xsl:variable name="attributes-color" select="'#023264'"/>
+ <xsl:variable name="table-th-bg" select="'#039acc'"/>
+ <xsl:variable name="table-td-bg" select="'#a0ddf0'"/>
<!-- Process an entire document into an HTML page -->
<xsl:template match="document">
@@ -227,7 +229,36 @@
</td></tr></table><br/>
</xsl:template>
+ <!-- process tables -->
+ <xsl:template match="table">
+ <table border="0" cellpadding="2" cellspacing="2">
+ <xsl:apply-templates/>
+ </table>
+ </xsl:template>
+ <!-- specially process td tags -->
+ <xsl:template match="td">
+ <td bgcolor="{$table-td-bg}" valign="top" align="left">
+ <xsl:if test="@colspan"><xsl:attribute name="colspan"><xsl:value-of select="@colspan"/></xsl:attribute></xsl:if>
+ <xsl:if test="@rowspan"><xsl:attribute name="rowspan"><xsl:value-of select="@rowspan"/></xsl:attribute></xsl:if>
+ <xsl:if test="@width"><xsl:attribute name="width"><xsl:value-of select="@width"/></xsl:attribute></xsl:if>
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ <xsl:apply-templates/>
+ </font>
+ </td>
+ </xsl:template>
+
+ <!-- handle th -->
+ <xsl:template match="th">
+ <td bgcolor="{$table-th-bg}" valign="top">
+ <xsl:if test="@colspan"><xsl:attribute name="colspan"><xsl:value-of select="@colspan"/></xsl:attribute></xsl:if>
+ <xsl:if test="@rowspan"><xsl:attribute name="rowspan"><xsl:value-of select="@rowspan"/></xsl:attribute></xsl:if>
+ <font color="#ffffff" size="-1" face="arial,helvetica,sanserif">
+ <b><xsl:apply-templates /></b>
+ </font>
+ </td>
+ </xsl:template>
+
<!-- Process a source code example -->
<xsl:template match="source">
<xsl:variable name="void">
@@ -404,21 +435,29 @@
</td></tr>
<tr><td>
<blockquote>
- <table border="1" cellspacing="2" cellpadding="2">
+ <table border="0" cellpadding="2" cellspacing="2">
<tr>
- <th width="15%">Tag Name</th>
- <th>Description</th>
+ <td bgcolor="{$table-th-bg}" width="15%" valign="top">
+ <font color="#ffffff" size="-1" face="arial,helvetica,sanserif"><b>Tag Name</b></font>
+ </td>
+ <td bgcolor="{$table-th-bg}" valign="top">
+ <font color="#ffffff" size="-1" face="arial,helvetica,sanserif"><b>Description</b></font>
+ </td>
</tr>
<xsl:for-each select="tag">
<tr>
- <td align="center">
- <xsl:variable name="name">
- <xsl:value-of select="name"/>
- </xsl:variable>
- <a href="#{$name}"><xsl:value-of select="name"/></a>
+ <td bgcolor="{$table-td-bg}" align="left" valign="top">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ <xsl:variable name="name">
+ <xsl:value-of select="name"/>
+ </xsl:variable>
+ <a href="#{$name}"><xsl:value-of select="name"/></a>
+ </font>
</td>
- <td>
- <xsl:value-of select="summary"/>
+ <td bgcolor="{$table-td-bg}" valign="top" align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ <xsl:value-of select="summary"/>
+ </font>
</td>
</tr>
</xsl:for-each>
@@ -449,27 +488,35 @@
</td></tr>
<tr><td>
<blockquote>
- <table border="1" cellspacing="2" cellpadding="2">
+ <table border="0" cellspacing="2" cellpadding="2">
<tr>
- <th width="15%">Attribute Name</th>
- <th>Description</th>
+ <td bgcolor="{$table-th-bg}" width="15%" valign="top">
+ <font color="#ffffff" size="-1" face="arial,helvetica,sanserif"><b>Attribute Name</b></font>
+ </td>
+ <td bgcolor="{$table-th-bg}" valign="top">
+ <font color="#ffffff" size="-1" face="arial,helvetica,sanserif"><b>Description</b></font>
+ </td>
</tr>
<xsl:for-each select="attribute">
<tr>
- <td align="center">
- <xsl:value-of select="name"/>
+ <td bgcolor="{$table-td-bg}" align="left" valign="top">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ <xsl:value-of select="name"/>
+ </font>
</td>
- <td>
- <xsl:apply-templates select="info"/>
- <xsl:variable name="required">
- <xsl:value-of select="required"/>
- </xsl:variable>
- <xsl:if test="required='true'">
- [Required]
- </xsl:if>
- <xsl:if test="rtexprvalue='true'">
- [RT Expr]
- </xsl:if>
+ <td bgcolor="{$table-td-bg}" align="left" valign="top">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ <xsl:apply-templates select="info"/>
+ <xsl:variable name="required">
+ <xsl:value-of select="required"/>
+ </xsl:variable>
+ <xsl:if test="required='true'">
+ [Required]
+ </xsl:if>
+ <xsl:if test="rtexprvalue='true'">
+ [RT Expr]
+ </xsl:if>
+ </font>
</td>
</tr>
</xsl:for-each>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>