JBoss Rich Faces SVN: r2547 - trunk/samples/calendar-sample/src/main/webapp/pages.
by richfaces-svn-commits@lists.jboss.org
Author: pyaschenko
Date: 2007-08-28 12:51:07 -0400 (Tue, 28 Aug 2007)
New Revision: 2547
Modified:
trunk/samples/calendar-sample/src/main/webapp/pages/Calendar.jsp
Log:
RF-731
Modified: trunk/samples/calendar-sample/src/main/webapp/pages/Calendar.jsp
===================================================================
--- trunk/samples/calendar-sample/src/main/webapp/pages/Calendar.jsp 2007-08-28 16:39:52 UTC (rev 2546)
+++ trunk/samples/calendar-sample/src/main/webapp/pages/Calendar.jsp 2007-08-28 16:51:07 UTC (rev 2547)
@@ -58,7 +58,7 @@
<f:validator validatorId="org.richfaces.CalendarValidator" />
<h:panelGrid columns="2">
- <f:verbatim><p style="padding: 2px;" <%-- class="largeText"--%>>{day}</p></f:verbatim>
+ <f:verbatim><span style="padding: 2px;" <%-- class="largeText"--%>>{day}</span></f:verbatim>
<%-- h:panelGrid>
<h:outputText styleClass="smallText" value="{data.enLabel}" />
<h:outputText styleClass="smallText" value="{data.frLabel}" />
17 years, 4 months
JBoss Rich Faces SVN: r2546 - in trunk/samples/richfaces-demo/src/main/xslt/tlddoc: resources and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: alexsmirnov
Date: 2007-08-28 12:39:52 -0400 (Tue, 28 Aug 2007)
New Revision: 2546
Added:
trunk/samples/richfaces-demo/src/main/xslt/tlddoc/alltags-frame.html.xsl
trunk/samples/richfaces-demo/src/main/xslt/tlddoc/alltags-noframe.html.xsl
trunk/samples/richfaces-demo/src/main/xslt/tlddoc/function.html.xsl
trunk/samples/richfaces-demo/src/main/xslt/tlddoc/help-doc.html.xsl
trunk/samples/richfaces-demo/src/main/xslt/tlddoc/index.html.xsl
trunk/samples/richfaces-demo/src/main/xslt/tlddoc/overview-frame.html.xsl
trunk/samples/richfaces-demo/src/main/xslt/tlddoc/overview-summary.html.xsl
trunk/samples/richfaces-demo/src/main/xslt/tlddoc/stylesheet.css
trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tag.html.xsl
trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tld-frame.html.xsl
trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tld-summary.html.xsl
trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tld1_1-tld1_2.xsl
trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tld1_2-tld2_0.xsl
trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tld2_0-tld2_1.xsl
trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tld2_1-tld2_1.xsl
Removed:
trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/alltags-frame.html.xsl
trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/alltags-noframe.html.xsl
trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/function.html.xsl
trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/help-doc.html.xsl
trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/index.html.xsl
trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/overview-frame.html.xsl
trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/overview-summary.html.xsl
trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/stylesheet.css
trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tag.html.xsl
trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld-frame.html.xsl
trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld-summary.html.xsl
trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld1_1-tld1_2.xsl
trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld1_2-tld2_0.xsl
trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld2_0-tld2_1.xsl
trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld2_1-tld2_1.xsl
Log:
Use java exec plugin for generate demo application tlddoc files instead of plugin
Copied: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/alltags-frame.html.xsl (from rev 2545, trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/alltags-frame.html.xsl)
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/alltags-frame.html.xsl (rev 0)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/alltags-frame.html.xsl 2007-08-28 16:39:52 UTC (rev 2546)
@@ -0,0 +1,103 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+ - <license>
+ - Copyright (c) 2003-2004, Sun Microsystems, Inc.
+ - All rights reserved.
+ -
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions are met:
+ -
+ - * Redistributions of source code must retain the above copyright
+ - notice, this list of conditions and the following disclaimer.
+ - * Redistributions in binary form must reproduce the above copyright
+ - notice, this list of conditions and the following disclaimer in the
+ - documentation and/or other materials provided with the distribution.
+ - * Neither the name of Sun Microsystems, Inc. nor the names of its
+ - contributors may be used to endorse or promote products derived from
+ - this software without specific prior written permission.
+ -
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ - </license>
+ -->
+
+<!--
+ Document : alltags-frame.html.xsl
+ Created on : October 1, 2002, 5:37 PM
+ Author : mroth
+ Description:
+ Creates the all tags frame (lower left corner), listing all tags
+ and functions included in all tag libraries for this generation.
+-->
+
+<xsl:stylesheet version="1.0"
+ xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:fo="http://www.w3.org/1999/XSL/Format">
+
+ <xsl:output method="html" indent="yes"/>
+
+ <!-- template rule matching source root element -->
+ <xsl:template match="/">
+ <html>
+ <head>
+ <title>All Tags / Functions</title>
+ <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"/>
+ </head>
+ <script>
+ function asd()
+ {
+ parent.document.title="All Tags / Functions";
+ }
+ </script>
+ <body bgcolor="white" onload="asd();">
+ <font size="+1" class="FrameHeadingFont">
+ <b>All Tags / Functions</b></font>
+ <br/>
+ <table border="0" width="100%">
+ <tr>
+ <td nowrap="true"><font class="FrameItemFont">
+ <xsl:apply-templates
+ select="javaee:tlds/javaee:taglib/javaee:tag|javaee:tlds/javaee:taglib/javaee:tag-file|javaee:tlds/javaee:taglib/javaee:function">
+ <xsl:sort select="../javaee:short-name"/>
+ <xsl:sort select="javaee:name"/>
+ </xsl:apply-templates>
+ </font></td>
+ </tr>
+ </table>
+ </body>
+ </html>
+ </xsl:template>
+
+ <xsl:template match="javaee:tag|javaee:tag-file">
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="../javaee:short-name"/>/<xsl:value-of select="javaee:name"/>.html</xsl:attribute>
+ <xsl:attribute name="target">tagFrame</xsl:attribute>
+ <xsl:value-of select="../javaee:short-name"/>:<xsl:value-of select="javaee:name"/>
+ </xsl:element>
+ <br/>
+ </xsl:template>
+
+ <!--
+ - Same as above, but add the () to indicate it's a function
+ - and change the HTML to .fn.html
+ -->
+ <xsl:template match="javaee:function">
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="../javaee:short-name"/>/<xsl:value-of select="javaee:name"/>.fn.html</xsl:attribute>
+ <xsl:attribute name="target">tagFrame</xsl:attribute>
+ <i><xsl:value-of select="../javaee:short-name"/>:<xsl:value-of select="javaee:name"/>()</i>
+ </xsl:element>
+ <br/>
+ </xsl:template>
+</xsl:stylesheet>
Copied: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/alltags-noframe.html.xsl (from rev 2545, trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/alltags-noframe.html.xsl)
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/alltags-noframe.html.xsl (rev 0)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/alltags-noframe.html.xsl 2007-08-28 16:39:52 UTC (rev 2546)
@@ -0,0 +1,103 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+ - <license>
+ - Copyright (c) 2003-2004, Sun Microsystems, Inc.
+ - All rights reserved.
+ -
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions are met:
+ -
+ - * Redistributions of source code must retain the above copyright
+ - notice, this list of conditions and the following disclaimer.
+ - * Redistributions in binary form must reproduce the above copyright
+ - notice, this list of conditions and the following disclaimer in the
+ - documentation and/or other materials provided with the distribution.
+ - * Neither the name of Sun Microsystems, Inc. nor the names of its
+ - contributors may be used to endorse or promote products derived from
+ - this software without specific prior written permission.
+ -
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ - </license>
+ -->
+
+<!--
+ Document : alltags-frame.html.xsl
+ Created on : October 1, 2002, 5:37 PM
+ Author : mroth
+ Description:
+ Creates the all tags page, listing all tags
+ and functions included in all tag libraries for this generation.
+-->
+
+<xsl:stylesheet version="1.0"
+ xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:fo="http://www.w3.org/1999/XSL/Format">
+
+ <xsl:output method="html" indent="yes"/>
+
+ <!-- template rule matching source root element -->
+ <xsl:template match="/">
+ <html>
+ <head>
+ <title>All Tags / Functions</title>
+ <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"/>
+ </head>
+ <script>
+ function asd()
+ {
+ parent.document.title="All Tags / Functions";
+ }
+ </script>
+ <body bgcolor="white" onload="asd();">
+ <font size="+1" class="FrameHeadingFont">
+ <b>All Tags / Functions</b></font>
+ <br/>
+ <table border="0" width="100%">
+ <tr>
+ <td nowrap="true"><font class="FrameItemFont">
+ <xsl:apply-templates
+ select="javaee:tlds/javaee:taglib/javaee:tag|javaee:tlds/javaee:taglib/javaee:tag-file|javaee:tlds/javaee:taglib/javaee:function">
+ <xsl:sort select="../javaee:short-name"/>
+ <xsl:sort select="javaee:name"/>
+ </xsl:apply-templates>
+ </font></td>
+ </tr>
+ </table>
+ </body>
+ </html>
+ </xsl:template>
+
+ <xsl:template match="javaee:tag|javaee:tag-file">
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="../javaee:short-name"/>/<xsl:value-of select="javaee:name"/>.html</xsl:attribute>
+ <xsl:attribute name="target"></xsl:attribute>
+ <xsl:value-of select="../javaee:short-name"/>:<xsl:value-of select="javaee:name"/>
+ </xsl:element>
+ <br/>
+ </xsl:template>
+
+ <!--
+ - Same as above, but add the () to indicate it's a function
+ - and change the HTML to .fn.html
+ -->
+ <xsl:template match="javaee:function">
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="../javaee:short-name"/>/<xsl:value-of select="javaee:name"/>.fn.html</xsl:attribute>
+ <xsl:attribute name="target">tagFrame</xsl:attribute>
+ <i><xsl:value-of select="../javaee:short-name"/>:<xsl:value-of select="javaee:name"/>()</i>
+ </xsl:element>
+ <br/>
+ </xsl:template>
+</xsl:stylesheet>
Copied: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/function.html.xsl (from rev 2545, trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/function.html.xsl)
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/function.html.xsl (rev 0)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/function.html.xsl 2007-08-28 16:39:52 UTC (rev 2546)
@@ -0,0 +1,276 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+ - <license>
+ - Copyright (c) 2003-2004, Sun Microsystems, Inc.
+ - All rights reserved.
+ -
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions are met:
+ -
+ - * Redistributions of source code must retain the above copyright
+ - notice, this list of conditions and the following disclaimer.
+ - * Redistributions in binary form must reproduce the above copyright
+ - notice, this list of conditions and the following disclaimer in the
+ - documentation and/or other materials provided with the distribution.
+ - * Neither the name of Sun Microsystems, Inc. nor the names of its
+ - contributors may be used to endorse or promote products derived from
+ - this software without specific prior written permission.
+ -
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ - </license>
+ -->
+
+<!--
+ Document : function.html.xsl
+ Created on : Februrary 25, 2003, 7:39 PM
+ Author : mroth
+ Description:
+ Creates the function detail page (right frame), listing the known
+ information for a given function in a tag library.
+-->
+
+<xsl:stylesheet version="1.0"
+ xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:fo="http://www.w3.org/1999/XSL/Format">
+
+ <xsl:output method="html" indent="yes"/>
+
+ <xsl:param name="tlddoc-shortName">default</xsl:param>
+ <xsl:param name="tlddoc-functionName">default</xsl:param>
+
+ <!-- template rule matching source root element -->
+ <xsl:template match="/">
+ <xsl:apply-templates select="javaee:tlds/javaee:taglib"/>
+ </xsl:template>
+
+ <xsl:template match="javaee:taglib">
+ <xsl:if test="javaee:short-name=$tlddoc-shortName">
+ <xsl:apply-templates select="javaee:function"/>
+ </xsl:if>
+ </xsl:template>
+
+ <xsl:template match="javaee:function">
+ <xsl:if test="javaee:name=$tlddoc-functionName">
+ <xsl:variable name="tldname">
+ <xsl:choose>
+ <xsl:when test="../javaee:display-name!=''">
+ <xsl:value-of select="../javaee:display-name"/>
+ </xsl:when>
+ <xsl:when test="../javaee:short-name!=''">
+ <xsl:value-of select="../javaee:short-name"/>
+ </xsl:when>
+ <xsl:otherwise>
+ Unnamed TLD
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:variable name="title">
+ <xsl:value-of select="javaee:name"/>
+ (<xsl:value-of select="/javaee:tlds/javaee:config/javaee:window-title"/>)
+ </xsl:variable>
+ <html>
+ <head>
+ <title><xsl:value-of select="$title"/></title>
+ <meta name="keywords" content="$title"/>
+ <link rel="stylesheet" type="text/css" href="../stylesheet.css"
+ title="Style"/>
+ </head>
+ <script>
+ function asd()
+ {
+ parent.document.title="<xsl:value-of select="normalize-space($title)"/>";
+ }
+ </script>
+ <body bgcolor="white" onload="asd();">
+ <!-- =========== START OF NAVBAR =========== -->
+ <a name="navbar_top"><!-- --></a>
+ <table border="0" width="100%" cellpadding="1" cellspacing="0">
+ <tr>
+ <td COLSPAN="3" BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+ <a NAME="navbar_top_firstrow"><!-- --></a>
+ <table BORDER="0" CELLPADDING="0" CELLSPACING="3">
+ <tr ALIGN="center" VALIGN="top">
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <a href="../overview-summary.html"><font CLASS="NavBarFont1"><b>Overview</b></font></a> </td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <a href="tld-summary.html"><font CLASS="NavBarFont1"><b>Library</b></font></a> </td>
+ <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev">  <font CLASS="NavBarFont1Rev"> Tag </font> </td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <a HREF="../help-doc.html"><font CLASS="NavBarFont1"><b>Help</b></font></a> </td>
+ </tr>
+ </table>
+ </td>
+ <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em>
+ </em>
+ </td>
+ </tr>
+ <tr>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+ <!-- PREV TAGLIB -->
+ <!-- NEXT TAGLIB -->
+ </font></td>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+  <a HREF="../index.html" TARGET="_top"><b>FRAMES</b></a> 
+  <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="javaee:name"/>.fn.html</xsl:attribute>
+ <xsl:attribute name="target">_top</xsl:attribute>
+ <b>NO FRAMES</b>
+ </xsl:element> 
+ <script>
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="alltags-noframe.html" TARGET=""><B>All Tags</B></A>');
+ }
+ //-->
+ </script>
+ <noscript>
+ <a HREF="../alltags-noframe.html" TARGET=""><b>All Tags</b></a>
+ </noscript>
+ </font></td>
+ </tr>
+ </table>
+ <!-- =========== END OF NAVBAR =========== -->
+
+ <hr/>
+ <h2><font size="-1"><xsl:value-of select="$tldname"/></font><br/>
+ Function <xsl:value-of select="javaee:name"/></h2>
+ <code>
+ <xsl:value-of select='substring-before(normalize-space(javaee:function-signature)," ")'/>
+ <b> <xsl:value-of select="javaee:name"/></b>(<xsl:value-of
+ select='substring-after(normalize-space(javaee:function-signature),"(")'/>
+ </code>
+ <hr/>
+ <xsl:value-of select="javaee:description" disable-output-escaping="yes"/><br/>
+ <p/>
+ <xsl:if test="javaee:example!=''">
+ <b>Example:</b><br/>
+ <pre>
+<xsl:value-of select="javaee:example"/>
+ </pre>
+ <p/>
+ </xsl:if>
+ <hr/>
+
+ <!-- Function Information -->
+ <table border="1" cellpadding="3" cellspacing="0" width="100%">
+ <tr bgcolor="#CCCCFF" class="TableHeadingColor">
+ <td colspan="2">
+ <font size="+2">
+ <b>Function Information</b>
+ </font>
+ </td>
+ </tr>
+ <tr>
+ <td>Function Class</td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:function-class!=''">
+ <xsl:value-of select="javaee:function-class"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>None</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ <tr>
+ <td>Function Signature</td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:function-signature!=''">
+ <xsl:value-of select="javaee:function-signature"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>None</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ <tr>
+ <td>Display Name</td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:display-name!=''">
+ <xsl:value-of select="javaee:display-name"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>None</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ </table>
+ <br/>
+ <p/>
+
+ <!-- =========== START OF NAVBAR =========== -->
+ <a name="navbar_bottom"><!-- --></a>
+ <table border="0" width="100%" cellpadding="1" cellspacing="0">
+ <tr>
+ <td COLSPAN="3" BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+ <a NAME="navbar_bottom_firstrow"><!-- --></a>
+ <table BORDER="0" CELLPADDING="0" CELLSPACING="3">
+ <tr ALIGN="center" VALIGN="top">
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <a href="../overview-summary.html"><font CLASS="NavBarFont1"><b>Overview</b></font></a> </td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <a href="tld-summary.html"><font CLASS="NavBarFont1"><b>Library</b></font></a> </td>
+ <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev">  <font CLASS="NavBarFont1Rev"> Tag </font> </td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <a HREF="../help-doc.html"><font CLASS="NavBarFont1"><b>Help</b></font></a> </td>
+ </tr>
+ </table>
+ </td>
+ <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em>
+ </em>
+ </td>
+ </tr>
+ <tr>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+ <!-- PREV TAGLIB -->
+ <!-- NEXT TAGLIB -->
+ </font></td>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+  <a HREF="../index.html" TARGET="_top"><b>FRAMES</b></a> 
+  <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="javaee:name"/>.fn.html</xsl:attribute>
+ <xsl:attribute name="target">_top</xsl:attribute>
+ <b>NO FRAMES</b>
+ </xsl:element> 
+ <script>
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="alltags-noframe.html" TARGET=""><B>All Tags</B></A>');
+ }
+ //-->
+ </script>
+ <noscript>
+ <a HREF="../alltags-noframe.html" TARGET=""><b>All Tags</b></a>
+ </noscript>
+ </font></td>
+ </tr>
+ </table>
+ <!-- =========== END OF NAVBAR =========== -->
+ <hr/>
+ <small><i>
+ Output Generated by
+ <a href="http://taglibrarydoc.dev.java.net/" target="_blank">Tag Library Documentation Generator</a>.
+ Java, JSP, and JavaServer Pages are trademarks or
+ registered trademarks of Sun Microsystems, Inc. in the US and other
+ countries. Copyright 2002-4 Sun Microsystems, Inc.
+ 4150 Network Circle
+ Santa Clara, CA 95054, U.S.A.
+ All Rights Reserved.
+ </i></small>
+ </body>
+ </html>
+ </xsl:if>
+ </xsl:template>
+
+</xsl:stylesheet>
Copied: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/help-doc.html.xsl (from rev 2545, trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/help-doc.html.xsl)
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/help-doc.html.xsl (rev 0)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/help-doc.html.xsl 2007-08-28 16:39:52 UTC (rev 2546)
@@ -0,0 +1,235 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+ - <license>
+ - Copyright (c) 2003-2004, Sun Microsystems, Inc.
+ - All rights reserved.
+ -
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions are met:
+ -
+ - * Redistributions of source code must retain the above copyright
+ - notice, this list of conditions and the following disclaimer.
+ - * Redistributions in binary form must reproduce the above copyright
+ - notice, this list of conditions and the following disclaimer in the
+ - documentation and/or other materials provided with the distribution.
+ - * Neither the name of Sun Microsystems, Inc. nor the names of its
+ - contributors may be used to endorse or promote products derived from
+ - this software without specific prior written permission.
+ -
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ - </license>
+ -->
+
+<!--
+ Document : help-doc.html.xsl
+ Created on : October 2, 2002, 5:37 PM
+ Author : mroth
+ Description:
+ Creates the help-doc page for Tag Library Documentation Generator
+-->
+
+<xsl:stylesheet version="1.0"
+ xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:fo="http://www.w3.org/1999/XSL/Format">
+
+ <xsl:output method="html" indent="yes"/>
+
+ <!-- template rule matching source root element -->
+ <xsl:template match="/">
+ <HTML>
+ <HEAD>
+ <TITLE>
+ API Help (<xsl:value-of select="/javaee:tlds/javaee:config/javaee:window-title"/>)
+ </TITLE>
+ <LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style"/>
+ </HEAD>
+ <SCRIPT>
+ function asd() {
+ parent.document.title="API Help (<xsl:value-of select="normalize-space(/javaee:tlds/javaee:config/javaee:window-title)"/>)";
+ }
+ </SCRIPT>
+ <BODY BGCOLOR="white" onload="asd();">
+ <a name="navbar_top"><!-- --></a>
+ <table border="0" width="100%" cellpadding="1" cellspacing="0">
+ <tr>
+ <td COLSPAN="3" BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+ <a NAME="navbar_top_firstrow"><!-- --></a>
+ <table BORDER="0" CELLPADDING="0" CELLSPACING="3">
+ <tr ALIGN="center" VALIGN="top">
+ <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1">  <a href="overview-summary.html"><font CLASS="NavBarFont1"><b>Overview</b></font></a> </td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <font CLASS="NavBarFont1"> Library </font></td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <font CLASS="NavBarFont1"> Tag </font></td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1Rev">  <font CLASS="NavBarFont1Rev"><b>Help</b></font> </td>
+ </tr>
+ </table>
+ </td>
+ <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em>
+ </em>
+ </td>
+ </tr>
+ <tr>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+  PREV 
+  NEXT 
+ </font></td>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+  <a HREF="index.html" TARGET="_top"><b>FRAMES</b></a> 
+  <a HREF="help-doc.html" TARGET="_top"><b>NO FRAMES</b></a> 
+ <script>
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="alltags-noframe.html" TARGET=""><B>All Tags</B></A>');
+ }
+ //-->
+ </script>
+ <noscript>
+ <a HREF="alltags-noframe.html" TARGET=""><b>All Tags</b></a>
+ </noscript>
+ </font></td>
+ </tr>
+ </table>
+ <HR/>
+ <CENTER>
+ <H1>How This Tag Library Document Is Organized</H1>
+ </CENTER>
+ This TLD (Tag Library Descriptor) document has pages corresponding
+ to the items in the navigation bar, described as follows.
+ <H3>Overview</H3>
+ <BLOCKQUOTE>
+ <P/>
+ The <A HREF="overview-summary.html">Overview</A> page is the front
+ page of this TLD document and provides a list of all tag libraries
+ with a summary for each.
+ </BLOCKQUOTE>
+ <H3>Library</H3>
+ <BLOCKQUOTE>
+ <P/>
+ Each tag library has a page that contains a list of its
+ validator, listeners, tags, and functions, with a summary for each.
+ This page can contain four categories:
+ <UL>
+ <li>Validator</li>
+ <li>Listeners</li>
+ <li>Tags</li>
+ <li>Functions</li>
+ </UL>
+ </BLOCKQUOTE>
+ <H3>Validator</H3>
+ <BLOCKQUOTE>
+ <P/>
+ A tag library can have at most one validator. If a tag library
+ has a validator, it has its own page describing the validator,
+ the class that implements the validator, and the available
+ initialization parameters.
+ </BLOCKQUOTE>
+ <h3>Listeners</h3>
+ <blockquote>
+ <p/>
+ A tag library can have zero or more listeners. If a tag library
+ has at least one listener, a page is generated that lists all
+ listener classes registered for the tag library.
+ </blockquote>
+ <h3>Tags</h3>
+ <blockquote>
+ <p/>
+ A tag library can have zero or more tags. Each tag has its own
+ page that describes the tag, its display name, its unique action
+ name, the class that implements the tag, the TagExtraInfo class,
+ the body content type, scripting variable information, attributes,
+ whether the tag supports dynamic attributes, and an optional
+ example use of the tag.
+ </blockquote>
+ <h3>Functions</h3>
+ <blockquote>
+ <p/>
+ A tag library can contain zero or more EL functions. If a tag
+ library has at least one function, a page is generated that lists
+ all functions, the class that implements the function, the
+ function signature, and an optional example use of the function.
+ </blockquote>
+ <!--
+ <H3>Index</H3>
+ <BLOCKQUOTE>
+ The <A HREF="index-files/index-1.html">Index</A> contains an
+ alphabetic list of all validators, listeners, tags, functions,
+ variables, and attributes.
+ </BLOCKQUOTE>
+ -->
+ <H3>Prev/Next</H3>
+ <blockquote>
+ These links take you to the next or previous validator, listener,
+ tag, function, or related page.
+ </blockquote>
+ <H3>Frames/No Frames</H3>
+ <blockquote>
+ These links show and hide the HTML frames. All pages are available
+ with or without frames.
+ </blockquote>
+ <BR/>
+ <HR/>
+ <a name="navbar_bottom"><!-- --></a>
+ <table border="0" width="100%" cellpadding="1" cellspacing="0">
+ <tr>
+ <td COLSPAN="3" BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+ <a NAME="navbar_bottom_firstrow"><!-- --></a>
+ <table BORDER="0" CELLPADDING="0" CELLSPACING="3">
+ <tr ALIGN="center" VALIGN="top">
+ <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1">  <a href="overview-summary.html"><font CLASS="NavBarFont1"><b>Overview</b></font></a> </td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <font CLASS="NavBarFont1"> Library </font></td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <font CLASS="NavBarFont1"> Tag </font></td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1Rev">  <font CLASS="NavBarFont1Rev"><b>Help</b></font> </td>
+ </tr>
+ </table>
+ </td>
+ <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em>
+ </em>
+ </td>
+ </tr>
+ <tr>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+  PREV 
+  NEXT 
+ </font></td>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+  <a HREF="index.html" TARGET="_top"><b>FRAMES</b></a> 
+  <a HREF="help-doc.html" TARGET="_top"><b>NO FRAMES</b></a> 
+ <script>
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="alltags-noframe.html" TARGET=""><B>All Tags</B></A>');
+ }
+ //-->
+ </script>
+ <noscript>
+ <a HREF="alltags-noframe.html" TARGET=""><b>All Tags</b></a>
+ </noscript>
+ </font></td>
+ </tr>
+ </table>
+ <HR/>
+ <small><i>
+ Output Generated by
+ <a href="http://taglibrarydoc.dev.java.net/" target="_blank">Tag Library Documentation Generator</a>.
+ Java, JSP, and JavaServer Pages are trademarks or
+ registered trademarks of Sun Microsystems, Inc. in the US and other
+ countries. Copyright 2002-4 Sun Microsystems, Inc.
+ 4150 Network Circle
+ Santa Clara, CA 95054, U.S.A.
+ All Rights Reserved.
+ </i></small>
+ </BODY>
+ </HTML>
+ </xsl:template>
+</xsl:stylesheet>
Copied: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/index.html.xsl (from rev 2545, trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/index.html.xsl)
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/index.html.xsl (rev 0)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/index.html.xsl 2007-08-28 16:39:52 UTC (rev 2546)
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+ - <license>
+ - Copyright (c) 2003-2004, Sun Microsystems, Inc.
+ - All rights reserved.
+ -
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions are met:
+ -
+ - * Redistributions of source code must retain the above copyright
+ - notice, this list of conditions and the following disclaimer.
+ - * Redistributions in binary form must reproduce the above copyright
+ - notice, this list of conditions and the following disclaimer in the
+ - documentation and/or other materials provided with the distribution.
+ - * Neither the name of Sun Microsystems, Inc. nor the names of its
+ - contributors may be used to endorse or promote products derived from
+ - this software without specific prior written permission.
+ -
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ - </license>
+ -->
+
+<!--
+ Document : index.html.xsl
+ Created on : October 1, 2002, 5:37 PM
+ Author : mroth
+ Description:
+ Creates the index page for Tag Library Documentation Generator
+-->
+
+<xsl:stylesheet version="1.0"
+ xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:fo="http://www.w3.org/1999/XSL/Format">
+
+ <xsl:output method="html" indent="yes"/>
+
+ <!-- template rule matching source root element -->
+ <xsl:template match="/">
+ <html>
+ <head>
+ <title>
+ <xsl:value-of select="/javaee:tlds/javaee:config/javaee:window-title"/>
+ </title>
+ </head>
+ <frameset cols="20%,80%">
+ <frameset rows="30%,70%">
+ <frame src="overview-frame.html" name="tldListFrame"/>
+ <frame src="alltags-frame.html" name="tldFrame"/>
+ </frameset>
+ <frame src="overview-summary.html" name="tagFrame"/>
+ </frameset>
+ <noframes>
+ <h2>Frame Alert</h2>
+ <p/>
+ This document is designed to be viewed using the frames feature.
+ If you see this message, you are using a non-frame-capable web
+ client.
+ <br/>
+ Link to <a href="overview-summary.html">Non-frame version.</a>
+ </noframes>
+ </html>
+ </xsl:template>
+</xsl:stylesheet>
Copied: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/overview-frame.html.xsl (from rev 2545, trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/overview-frame.html.xsl)
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/overview-frame.html.xsl (rev 0)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/overview-frame.html.xsl 2007-08-28 16:39:52 UTC (rev 2546)
@@ -0,0 +1,114 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+ - <license>
+ - Copyright (c) 2003-2004, Sun Microsystems, Inc.
+ - All rights reserved.
+ -
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions are met:
+ -
+ - * Redistributions of source code must retain the above copyright
+ - notice, this list of conditions and the following disclaimer.
+ - * Redistributions in binary form must reproduce the above copyright
+ - notice, this list of conditions and the following disclaimer in the
+ - documentation and/or other materials provided with the distribution.
+ - * Neither the name of Sun Microsystems, Inc. nor the names of its
+ - contributors may be used to endorse or promote products derived from
+ - this software without specific prior written permission.
+ -
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ - </license>
+ -->
+
+<!--
+ Document : overview-frame.html.xsl
+ Created on : October 1, 2002, 5:37 PM
+ Author : mroth
+ Description:
+ Creates the overview frame (upper left corner), listing all tag
+ libraries included in this generation.
+-->
+
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:fo="http://www.w3.org/1999/XSL/Format"
+ xmlns:javaee="http://java.sun.com/xml/ns/javaee">
+
+ <xsl:output method="html" indent="yes"/>
+
+ <!-- template rule matching source root element -->
+ <xsl:template match="/">
+ <html>
+ <head>
+ <title>
+ Overview (<xsl:value-of select="/javaee:tlds/javaee:config/javaee:window-title"/>)
+ </title>
+ <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"/>
+ </head>
+ <script>
+ function asd() {
+ parent.document.title="Overview (<xsl:value-of select="normalize-space(/javaee:tlds/javaee:config/javaee:window-title)"/>)";
+ }
+ </script>
+ <body bgcolor="white" onload="asd();">
+ <table border="0" width="100%">
+ <tr>
+ <td nowrap="true">
+ <font size="+1" class="FrameTitleFont">
+ <b><xsl:value-of select="/javaee:tlds/javaee:config/javaee:doc-title"/></b>
+ </font>
+ </td>
+ </tr>
+ </table>
+ <table border="0" width="100%">
+ <tr>
+ <td nowrap="true">
+ <font class="FrameItemFont">
+ <a href="alltags-frame.html" target="tldFrame"><xsl:text>All Tags / Functions</xsl:text></a>
+ </font>
+ <p/>
+ <font size="+1" class="FrameHeadingFont">
+ Tag Libraries
+ </font>
+ <br/>
+ <xsl:apply-templates select="javaee:tlds/javaee:taglib"/>
+ </td>
+ </tr>
+ </table>
+ <p/>
+ </body>
+ </html>
+ </xsl:template>
+
+ <xsl:template match="javaee:taglib">
+ <font class="FrameItemFont">
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="javaee:short-name"/>/tld-frame.html</xsl:attribute>
+ <xsl:attribute name="target">tldFrame</xsl:attribute>
+ <xsl:choose>
+ <xsl:when test="javaee:display-name!=''">
+ <xsl:value-of select="javaee:display-name"/>
+ </xsl:when>
+ <xsl:when test="javaee:short-name!=''">
+ <xsl:value-of select="javaee:short-name"/>
+ </xsl:when>
+ <xsl:otherwise>
+ Unnamed TLD
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:element>
+ </font>
+ <br/>
+ </xsl:template>
+</xsl:stylesheet>
Copied: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/overview-summary.html.xsl (from rev 2545, trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/overview-summary.html.xsl)
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/overview-summary.html.xsl (rev 0)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/overview-summary.html.xsl 2007-08-28 16:39:52 UTC (rev 2546)
@@ -0,0 +1,208 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+ - <license>
+ - Copyright (c) 2003-2004, Sun Microsystems, Inc.
+ - All rights reserved.
+ -
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions are met:
+ -
+ - * Redistributions of source code must retain the above copyright
+ - notice, this list of conditions and the following disclaimer.
+ - * Redistributions in binary form must reproduce the above copyright
+ - notice, this list of conditions and the following disclaimer in the
+ - documentation and/or other materials provided with the distribution.
+ - * Neither the name of Sun Microsystems, Inc. nor the names of its
+ - contributors may be used to endorse or promote products derived from
+ - this software without specific prior written permission.
+ -
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ - </license>
+ -->
+
+<!--
+ Document : overview-summary.html.xsl
+ Created on : October 1, 2002, 5:37 PM
+ Author : mroth
+ Description:
+ Creates an overview summary (right frame), listing all tag
+ libraries included in this generation.
+-->
+
+<xsl:stylesheet version="1.0"
+ xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:fo="http://www.w3.org/1999/XSL/Format">
+
+ <xsl:output method="html" indent="yes"/>
+
+ <!-- template rule matching source root element -->
+ <xsl:template match="/">
+ <html>
+ <head>
+ <title>
+ Overview (<xsl:value-of select="/javaee:tlds/javaee:config/javaee:window-title"/>)
+ </title>
+ <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"/>
+ </head>
+ <script>
+ function asd() {
+ parent.document.title="Overview (<xsl:value-of select="normalize-space(/javaee:tlds/javaee:config/javaee:window-title)"/>)";
+ }
+ </script>
+ <body bgcolor="white" onload="asd();">
+ <!-- =========== START OF NAVBAR =========== -->
+ <a name="navbar_top"><!-- --></a>
+ <table border="0" width="100%" cellpadding="1" cellspacing="0">
+ <tr>
+ <td COLSPAN="3" BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+ <a NAME="navbar_top_firstrow"><!-- --></a>
+ <table BORDER="0" CELLPADDING="0" CELLSPACING="3">
+ <tr ALIGN="center" VALIGN="top">
+ <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <font CLASS="NavBarFont1Rev"><b> Overview </b></font></td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <font CLASS="NavBarFont1"> Library </font></td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <font CLASS="NavBarFont1"> Tag </font></td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <a HREF="help-doc.html"><font CLASS="NavBarFont1"><b>Help</b></font></a> </td>
+ </tr>
+ </table>
+ </td>
+ <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em>
+ </em>
+ </td>
+ </tr>
+ <tr>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+ <!-- PREV -->
+ <!-- NEXT -->
+ </font></td>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+  <a HREF="index.html" TARGET="_top"><b>FRAMES</b></a> 
+  <a HREF="overview-summary.html" TARGET="_top"><b>NO FRAMES</b></a> 
+ <script>
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="alltags-noframe.html" TARGET=""><B>All Tags</B></A>');
+ }
+ //-->
+ </script>
+ <noscript>
+ <a HREF="alltags-noframe.html" TARGET=""><b>All Tags</b></a>
+ </noscript>
+ </font></td>
+ </tr>
+ </table>
+ <!-- =========== END OF NAVBAR =========== -->
+ <hr/>
+ <center>
+ <h2><xsl:value-of select="/javaee:tlds/javaee:config/javaee:doc-title"/></h2>
+ </center>
+ <table BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
+ <tr BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+ <td COLSPAN="2"><font SIZE="+2">
+ <b>Tag Libraries</b>
+ </font></td>
+ </tr>
+ <xsl:apply-templates select="/javaee:tlds/javaee:taglib"/>
+ </table>
+ <p/>
+ <hr/>
+ <!-- =========== START OF NAVBAR =========== -->
+ <a name="navbar_bottom"><!-- --></a>
+ <table border="0" width="100%" cellpadding="1" cellspacing="0">
+ <tr>
+ <td COLSPAN="3" BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+ <a NAME="navbar_bottom_firstrow"><!-- --></a>
+ <table BORDER="0" CELLPADDING="0" CELLSPACING="3">
+ <tr ALIGN="center" VALIGN="top">
+ <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <font CLASS="NavBarFont1Rev"><b> Overview </b></font></td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <font CLASS="NavBarFont1"> Library </font></td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <font CLASS="NavBarFont1"> Tag </font></td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <a HREF="help-doc.html"><font CLASS="NavBarFont1"><b>Help</b></font></a> </td>
+ </tr>
+ </table>
+ </td>
+ <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em>
+ </em>
+ </td>
+ </tr>
+ <tr>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+ <!-- PREV -->
+ <!-- NEXT -->
+ </font></td>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+  <a HREF="index.html" TARGET="_top"><b>FRAMES</b></a> 
+  <a HREF="overview-summary.html" TARGET="_top"><b>NO FRAMES</b></a> 
+ <script>
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="alltags-noframe.html" TARGET=""><B>All Tags</B></A>');
+ }
+ //-->
+ </script>
+ <noscript>
+ <a HREF="alltags-noframe.html" TARGET=""><b>All Tags</b></a>
+ </noscript>
+ </font></td>
+ </tr>
+ </table>
+ <!-- =========== END OF NAVBAR =========== -->
+ <hr/>
+ <small><i>
+ Output Generated by
+ <a href="http://taglibrarydoc.dev.java.net/" target="_blank">Tag Library Documentation Generator</a>.
+ Java, JSP, and JavaServer Pages are trademarks or
+ registered trademarks of Sun Microsystems, Inc. in the US and other
+ countries. Copyright 2002-4 Sun Microsystems, Inc.
+ 4150 Network Circle
+ Santa Clara, CA 95054, U.S.A.
+ All Rights Reserved.
+ </i></small>
+ </body>
+ </html>
+ </xsl:template>
+
+ <xsl:template match="javaee:taglib">
+ <tr BGCOLOR="white" valign="top" CLASS="TableRowColor">
+ <td WIDTH="20%"><b>
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="javaee:short-name"/>/tld-summary.html</xsl:attribute>
+ <xsl:choose>
+ <xsl:when test="javaee:display-name!=''">
+ <xsl:value-of select="javaee:display-name"/>
+ </xsl:when>
+ <xsl:when test="javaee:short-name!=''">
+ <xsl:value-of select="javaee:short-name"/>
+ </xsl:when>
+ <xsl:otherwise>
+ Unnamed TLD
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:element>
+ </b></td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:description!=''">
+ <pre>
+ <xsl:value-of select="javaee:description" disable-output-escaping="yes"/>
+ </pre>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>No Description</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ </xsl:template>
+</xsl:stylesheet>
Deleted: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/alltags-frame.html.xsl
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/alltags-frame.html.xsl 2007-08-28 16:37:06 UTC (rev 2545)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/alltags-frame.html.xsl 2007-08-28 16:39:52 UTC (rev 2546)
@@ -1,103 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-
-<!--
- - <license>
- - Copyright (c) 2003-2004, Sun Microsystems, Inc.
- - All rights reserved.
- -
- - Redistribution and use in source and binary forms, with or without
- - modification, are permitted provided that the following conditions are met:
- -
- - * Redistributions of source code must retain the above copyright
- - notice, this list of conditions and the following disclaimer.
- - * Redistributions in binary form must reproduce the above copyright
- - notice, this list of conditions and the following disclaimer in the
- - documentation and/or other materials provided with the distribution.
- - * Neither the name of Sun Microsystems, Inc. nor the names of its
- - contributors may be used to endorse or promote products derived from
- - this software without specific prior written permission.
- -
- - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- - </license>
- -->
-
-<!--
- Document : alltags-frame.html.xsl
- Created on : October 1, 2002, 5:37 PM
- Author : mroth
- Description:
- Creates the all tags frame (lower left corner), listing all tags
- and functions included in all tag libraries for this generation.
--->
-
-<xsl:stylesheet version="1.0"
- xmlns:javaee="http://java.sun.com/xml/ns/javaee"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:fo="http://www.w3.org/1999/XSL/Format">
-
- <xsl:output method="html" indent="yes"/>
-
- <!-- template rule matching source root element -->
- <xsl:template match="/">
- <html>
- <head>
- <title>All Tags / Functions</title>
- <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"/>
- </head>
- <script>
- function asd()
- {
- parent.document.title="All Tags / Functions";
- }
- </script>
- <body bgcolor="white" onload="asd();">
- <font size="+1" class="FrameHeadingFont">
- <b>All Tags / Functions</b></font>
- <br/>
- <table border="0" width="100%">
- <tr>
- <td nowrap="true"><font class="FrameItemFont">
- <xsl:apply-templates
- select="javaee:tlds/javaee:taglib/javaee:tag|javaee:tlds/javaee:taglib/javaee:tag-file|javaee:tlds/javaee:taglib/javaee:function">
- <xsl:sort select="../javaee:short-name"/>
- <xsl:sort select="javaee:name"/>
- </xsl:apply-templates>
- </font></td>
- </tr>
- </table>
- </body>
- </html>
- </xsl:template>
-
- <xsl:template match="javaee:tag|javaee:tag-file">
- <xsl:element name="a">
- <xsl:attribute name="href"><xsl:value-of select="../javaee:short-name"/>/<xsl:value-of select="javaee:name"/>.html</xsl:attribute>
- <xsl:attribute name="target">tagFrame</xsl:attribute>
- <xsl:value-of select="../javaee:short-name"/>:<xsl:value-of select="javaee:name"/>
- </xsl:element>
- <br/>
- </xsl:template>
-
- <!--
- - Same as above, but add the () to indicate it's a function
- - and change the HTML to .fn.html
- -->
- <xsl:template match="javaee:function">
- <xsl:element name="a">
- <xsl:attribute name="href"><xsl:value-of select="../javaee:short-name"/>/<xsl:value-of select="javaee:name"/>.fn.html</xsl:attribute>
- <xsl:attribute name="target">tagFrame</xsl:attribute>
- <i><xsl:value-of select="../javaee:short-name"/>:<xsl:value-of select="javaee:name"/>()</i>
- </xsl:element>
- <br/>
- </xsl:template>
-</xsl:stylesheet>
Deleted: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/alltags-noframe.html.xsl
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/alltags-noframe.html.xsl 2007-08-28 16:37:06 UTC (rev 2545)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/alltags-noframe.html.xsl 2007-08-28 16:39:52 UTC (rev 2546)
@@ -1,103 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-
-<!--
- - <license>
- - Copyright (c) 2003-2004, Sun Microsystems, Inc.
- - All rights reserved.
- -
- - Redistribution and use in source and binary forms, with or without
- - modification, are permitted provided that the following conditions are met:
- -
- - * Redistributions of source code must retain the above copyright
- - notice, this list of conditions and the following disclaimer.
- - * Redistributions in binary form must reproduce the above copyright
- - notice, this list of conditions and the following disclaimer in the
- - documentation and/or other materials provided with the distribution.
- - * Neither the name of Sun Microsystems, Inc. nor the names of its
- - contributors may be used to endorse or promote products derived from
- - this software without specific prior written permission.
- -
- - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- - </license>
- -->
-
-<!--
- Document : alltags-frame.html.xsl
- Created on : October 1, 2002, 5:37 PM
- Author : mroth
- Description:
- Creates the all tags page, listing all tags
- and functions included in all tag libraries for this generation.
--->
-
-<xsl:stylesheet version="1.0"
- xmlns:javaee="http://java.sun.com/xml/ns/javaee"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:fo="http://www.w3.org/1999/XSL/Format">
-
- <xsl:output method="html" indent="yes"/>
-
- <!-- template rule matching source root element -->
- <xsl:template match="/">
- <html>
- <head>
- <title>All Tags / Functions</title>
- <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"/>
- </head>
- <script>
- function asd()
- {
- parent.document.title="All Tags / Functions";
- }
- </script>
- <body bgcolor="white" onload="asd();">
- <font size="+1" class="FrameHeadingFont">
- <b>All Tags / Functions</b></font>
- <br/>
- <table border="0" width="100%">
- <tr>
- <td nowrap="true"><font class="FrameItemFont">
- <xsl:apply-templates
- select="javaee:tlds/javaee:taglib/javaee:tag|javaee:tlds/javaee:taglib/javaee:tag-file|javaee:tlds/javaee:taglib/javaee:function">
- <xsl:sort select="../javaee:short-name"/>
- <xsl:sort select="javaee:name"/>
- </xsl:apply-templates>
- </font></td>
- </tr>
- </table>
- </body>
- </html>
- </xsl:template>
-
- <xsl:template match="javaee:tag|javaee:tag-file">
- <xsl:element name="a">
- <xsl:attribute name="href"><xsl:value-of select="../javaee:short-name"/>/<xsl:value-of select="javaee:name"/>.html</xsl:attribute>
- <xsl:attribute name="target"></xsl:attribute>
- <xsl:value-of select="../javaee:short-name"/>:<xsl:value-of select="javaee:name"/>
- </xsl:element>
- <br/>
- </xsl:template>
-
- <!--
- - Same as above, but add the () to indicate it's a function
- - and change the HTML to .fn.html
- -->
- <xsl:template match="javaee:function">
- <xsl:element name="a">
- <xsl:attribute name="href"><xsl:value-of select="../javaee:short-name"/>/<xsl:value-of select="javaee:name"/>.fn.html</xsl:attribute>
- <xsl:attribute name="target">tagFrame</xsl:attribute>
- <i><xsl:value-of select="../javaee:short-name"/>:<xsl:value-of select="javaee:name"/>()</i>
- </xsl:element>
- <br/>
- </xsl:template>
-</xsl:stylesheet>
Deleted: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/function.html.xsl
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/function.html.xsl 2007-08-28 16:37:06 UTC (rev 2545)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/function.html.xsl 2007-08-28 16:39:52 UTC (rev 2546)
@@ -1,276 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-
-<!--
- - <license>
- - Copyright (c) 2003-2004, Sun Microsystems, Inc.
- - All rights reserved.
- -
- - Redistribution and use in source and binary forms, with or without
- - modification, are permitted provided that the following conditions are met:
- -
- - * Redistributions of source code must retain the above copyright
- - notice, this list of conditions and the following disclaimer.
- - * Redistributions in binary form must reproduce the above copyright
- - notice, this list of conditions and the following disclaimer in the
- - documentation and/or other materials provided with the distribution.
- - * Neither the name of Sun Microsystems, Inc. nor the names of its
- - contributors may be used to endorse or promote products derived from
- - this software without specific prior written permission.
- -
- - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- - </license>
- -->
-
-<!--
- Document : function.html.xsl
- Created on : Februrary 25, 2003, 7:39 PM
- Author : mroth
- Description:
- Creates the function detail page (right frame), listing the known
- information for a given function in a tag library.
--->
-
-<xsl:stylesheet version="1.0"
- xmlns:javaee="http://java.sun.com/xml/ns/javaee"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:fo="http://www.w3.org/1999/XSL/Format">
-
- <xsl:output method="html" indent="yes"/>
-
- <xsl:param name="tlddoc-shortName">default</xsl:param>
- <xsl:param name="tlddoc-functionName">default</xsl:param>
-
- <!-- template rule matching source root element -->
- <xsl:template match="/">
- <xsl:apply-templates select="javaee:tlds/javaee:taglib"/>
- </xsl:template>
-
- <xsl:template match="javaee:taglib">
- <xsl:if test="javaee:short-name=$tlddoc-shortName">
- <xsl:apply-templates select="javaee:function"/>
- </xsl:if>
- </xsl:template>
-
- <xsl:template match="javaee:function">
- <xsl:if test="javaee:name=$tlddoc-functionName">
- <xsl:variable name="tldname">
- <xsl:choose>
- <xsl:when test="../javaee:display-name!=''">
- <xsl:value-of select="../javaee:display-name"/>
- </xsl:when>
- <xsl:when test="../javaee:short-name!=''">
- <xsl:value-of select="../javaee:short-name"/>
- </xsl:when>
- <xsl:otherwise>
- Unnamed TLD
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
- <xsl:variable name="title">
- <xsl:value-of select="javaee:name"/>
- (<xsl:value-of select="/javaee:tlds/javaee:config/javaee:window-title"/>)
- </xsl:variable>
- <html>
- <head>
- <title><xsl:value-of select="$title"/></title>
- <meta name="keywords" content="$title"/>
- <link rel="stylesheet" type="text/css" href="../stylesheet.css"
- title="Style"/>
- </head>
- <script>
- function asd()
- {
- parent.document.title="<xsl:value-of select="normalize-space($title)"/>";
- }
- </script>
- <body bgcolor="white" onload="asd();">
- <!-- =========== START OF NAVBAR =========== -->
- <a name="navbar_top"><!-- --></a>
- <table border="0" width="100%" cellpadding="1" cellspacing="0">
- <tr>
- <td COLSPAN="3" BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
- <a NAME="navbar_top_firstrow"><!-- --></a>
- <table BORDER="0" CELLPADDING="0" CELLSPACING="3">
- <tr ALIGN="center" VALIGN="top">
- <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <a href="../overview-summary.html"><font CLASS="NavBarFont1"><b>Overview</b></font></a> </td>
- <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <a href="tld-summary.html"><font CLASS="NavBarFont1"><b>Library</b></font></a> </td>
- <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev">  <font CLASS="NavBarFont1Rev"> Tag </font> </td>
- <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <a HREF="../help-doc.html"><font CLASS="NavBarFont1"><b>Help</b></font></a> </td>
- </tr>
- </table>
- </td>
- <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em>
- </em>
- </td>
- </tr>
- <tr>
- <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
- <!-- PREV TAGLIB -->
- <!-- NEXT TAGLIB -->
- </font></td>
- <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
-  <a HREF="../index.html" TARGET="_top"><b>FRAMES</b></a> 
-  <xsl:element name="a">
- <xsl:attribute name="href"><xsl:value-of select="javaee:name"/>.fn.html</xsl:attribute>
- <xsl:attribute name="target">_top</xsl:attribute>
- <b>NO FRAMES</b>
- </xsl:element> 
- <script>
- <!--
- if(window==top) {
- document.writeln('<A HREF="alltags-noframe.html" TARGET=""><B>All Tags</B></A>');
- }
- //-->
- </script>
- <noscript>
- <a HREF="../alltags-noframe.html" TARGET=""><b>All Tags</b></a>
- </noscript>
- </font></td>
- </tr>
- </table>
- <!-- =========== END OF NAVBAR =========== -->
-
- <hr/>
- <h2><font size="-1"><xsl:value-of select="$tldname"/></font><br/>
- Function <xsl:value-of select="javaee:name"/></h2>
- <code>
- <xsl:value-of select='substring-before(normalize-space(javaee:function-signature)," ")'/>
- <b> <xsl:value-of select="javaee:name"/></b>(<xsl:value-of
- select='substring-after(normalize-space(javaee:function-signature),"(")'/>
- </code>
- <hr/>
- <xsl:value-of select="javaee:description" disable-output-escaping="yes"/><br/>
- <p/>
- <xsl:if test="javaee:example!=''">
- <b>Example:</b><br/>
- <pre>
-<xsl:value-of select="javaee:example"/>
- </pre>
- <p/>
- </xsl:if>
- <hr/>
-
- <!-- Function Information -->
- <table border="1" cellpadding="3" cellspacing="0" width="100%">
- <tr bgcolor="#CCCCFF" class="TableHeadingColor">
- <td colspan="2">
- <font size="+2">
- <b>Function Information</b>
- </font>
- </td>
- </tr>
- <tr>
- <td>Function Class</td>
- <td>
- <xsl:choose>
- <xsl:when test="javaee:function-class!=''">
- <xsl:value-of select="javaee:function-class"/>
- </xsl:when>
- <xsl:otherwise>
- <i>None</i>
- </xsl:otherwise>
- </xsl:choose>
- </td>
- </tr>
- <tr>
- <td>Function Signature</td>
- <td>
- <xsl:choose>
- <xsl:when test="javaee:function-signature!=''">
- <xsl:value-of select="javaee:function-signature"/>
- </xsl:when>
- <xsl:otherwise>
- <i>None</i>
- </xsl:otherwise>
- </xsl:choose>
- </td>
- </tr>
- <tr>
- <td>Display Name</td>
- <td>
- <xsl:choose>
- <xsl:when test="javaee:display-name!=''">
- <xsl:value-of select="javaee:display-name"/>
- </xsl:when>
- <xsl:otherwise>
- <i>None</i>
- </xsl:otherwise>
- </xsl:choose>
- </td>
- </tr>
- </table>
- <br/>
- <p/>
-
- <!-- =========== START OF NAVBAR =========== -->
- <a name="navbar_bottom"><!-- --></a>
- <table border="0" width="100%" cellpadding="1" cellspacing="0">
- <tr>
- <td COLSPAN="3" BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
- <a NAME="navbar_bottom_firstrow"><!-- --></a>
- <table BORDER="0" CELLPADDING="0" CELLSPACING="3">
- <tr ALIGN="center" VALIGN="top">
- <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <a href="../overview-summary.html"><font CLASS="NavBarFont1"><b>Overview</b></font></a> </td>
- <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <a href="tld-summary.html"><font CLASS="NavBarFont1"><b>Library</b></font></a> </td>
- <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev">  <font CLASS="NavBarFont1Rev"> Tag </font> </td>
- <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <a HREF="../help-doc.html"><font CLASS="NavBarFont1"><b>Help</b></font></a> </td>
- </tr>
- </table>
- </td>
- <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em>
- </em>
- </td>
- </tr>
- <tr>
- <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
- <!-- PREV TAGLIB -->
- <!-- NEXT TAGLIB -->
- </font></td>
- <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
-  <a HREF="../index.html" TARGET="_top"><b>FRAMES</b></a> 
-  <xsl:element name="a">
- <xsl:attribute name="href"><xsl:value-of select="javaee:name"/>.fn.html</xsl:attribute>
- <xsl:attribute name="target">_top</xsl:attribute>
- <b>NO FRAMES</b>
- </xsl:element> 
- <script>
- <!--
- if(window==top) {
- document.writeln('<A HREF="alltags-noframe.html" TARGET=""><B>All Tags</B></A>');
- }
- //-->
- </script>
- <noscript>
- <a HREF="../alltags-noframe.html" TARGET=""><b>All Tags</b></a>
- </noscript>
- </font></td>
- </tr>
- </table>
- <!-- =========== END OF NAVBAR =========== -->
- <hr/>
- <small><i>
- Output Generated by
- <a href="http://taglibrarydoc.dev.java.net/" target="_blank">Tag Library Documentation Generator</a>.
- Java, JSP, and JavaServer Pages are trademarks or
- registered trademarks of Sun Microsystems, Inc. in the US and other
- countries. Copyright 2002-4 Sun Microsystems, Inc.
- 4150 Network Circle
- Santa Clara, CA 95054, U.S.A.
- All Rights Reserved.
- </i></small>
- </body>
- </html>
- </xsl:if>
- </xsl:template>
-
-</xsl:stylesheet>
Deleted: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/help-doc.html.xsl
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/help-doc.html.xsl 2007-08-28 16:37:06 UTC (rev 2545)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/help-doc.html.xsl 2007-08-28 16:39:52 UTC (rev 2546)
@@ -1,235 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-
-<!--
- - <license>
- - Copyright (c) 2003-2004, Sun Microsystems, Inc.
- - All rights reserved.
- -
- - Redistribution and use in source and binary forms, with or without
- - modification, are permitted provided that the following conditions are met:
- -
- - * Redistributions of source code must retain the above copyright
- - notice, this list of conditions and the following disclaimer.
- - * Redistributions in binary form must reproduce the above copyright
- - notice, this list of conditions and the following disclaimer in the
- - documentation and/or other materials provided with the distribution.
- - * Neither the name of Sun Microsystems, Inc. nor the names of its
- - contributors may be used to endorse or promote products derived from
- - this software without specific prior written permission.
- -
- - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- - </license>
- -->
-
-<!--
- Document : help-doc.html.xsl
- Created on : October 2, 2002, 5:37 PM
- Author : mroth
- Description:
- Creates the help-doc page for Tag Library Documentation Generator
--->
-
-<xsl:stylesheet version="1.0"
- xmlns:javaee="http://java.sun.com/xml/ns/javaee"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:fo="http://www.w3.org/1999/XSL/Format">
-
- <xsl:output method="html" indent="yes"/>
-
- <!-- template rule matching source root element -->
- <xsl:template match="/">
- <HTML>
- <HEAD>
- <TITLE>
- API Help (<xsl:value-of select="/javaee:tlds/javaee:config/javaee:window-title"/>)
- </TITLE>
- <LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style"/>
- </HEAD>
- <SCRIPT>
- function asd() {
- parent.document.title="API Help (<xsl:value-of select="normalize-space(/javaee:tlds/javaee:config/javaee:window-title)"/>)";
- }
- </SCRIPT>
- <BODY BGCOLOR="white" onload="asd();">
- <a name="navbar_top"><!-- --></a>
- <table border="0" width="100%" cellpadding="1" cellspacing="0">
- <tr>
- <td COLSPAN="3" BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
- <a NAME="navbar_top_firstrow"><!-- --></a>
- <table BORDER="0" CELLPADDING="0" CELLSPACING="3">
- <tr ALIGN="center" VALIGN="top">
- <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1">  <a href="overview-summary.html"><font CLASS="NavBarFont1"><b>Overview</b></font></a> </td>
- <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <font CLASS="NavBarFont1"> Library </font></td>
- <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <font CLASS="NavBarFont1"> Tag </font></td>
- <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1Rev">  <font CLASS="NavBarFont1Rev"><b>Help</b></font> </td>
- </tr>
- </table>
- </td>
- <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em>
- </em>
- </td>
- </tr>
- <tr>
- <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
-  PREV 
-  NEXT 
- </font></td>
- <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
-  <a HREF="index.html" TARGET="_top"><b>FRAMES</b></a> 
-  <a HREF="help-doc.html" TARGET="_top"><b>NO FRAMES</b></a> 
- <script>
- <!--
- if(window==top) {
- document.writeln('<A HREF="alltags-noframe.html" TARGET=""><B>All Tags</B></A>');
- }
- //-->
- </script>
- <noscript>
- <a HREF="alltags-noframe.html" TARGET=""><b>All Tags</b></a>
- </noscript>
- </font></td>
- </tr>
- </table>
- <HR/>
- <CENTER>
- <H1>How This Tag Library Document Is Organized</H1>
- </CENTER>
- This TLD (Tag Library Descriptor) document has pages corresponding
- to the items in the navigation bar, described as follows.
- <H3>Overview</H3>
- <BLOCKQUOTE>
- <P/>
- The <A HREF="overview-summary.html">Overview</A> page is the front
- page of this TLD document and provides a list of all tag libraries
- with a summary for each.
- </BLOCKQUOTE>
- <H3>Library</H3>
- <BLOCKQUOTE>
- <P/>
- Each tag library has a page that contains a list of its
- validator, listeners, tags, and functions, with a summary for each.
- This page can contain four categories:
- <UL>
- <li>Validator</li>
- <li>Listeners</li>
- <li>Tags</li>
- <li>Functions</li>
- </UL>
- </BLOCKQUOTE>
- <H3>Validator</H3>
- <BLOCKQUOTE>
- <P/>
- A tag library can have at most one validator. If a tag library
- has a validator, it has its own page describing the validator,
- the class that implements the validator, and the available
- initialization parameters.
- </BLOCKQUOTE>
- <h3>Listeners</h3>
- <blockquote>
- <p/>
- A tag library can have zero or more listeners. If a tag library
- has at least one listener, a page is generated that lists all
- listener classes registered for the tag library.
- </blockquote>
- <h3>Tags</h3>
- <blockquote>
- <p/>
- A tag library can have zero or more tags. Each tag has its own
- page that describes the tag, its display name, its unique action
- name, the class that implements the tag, the TagExtraInfo class,
- the body content type, scripting variable information, attributes,
- whether the tag supports dynamic attributes, and an optional
- example use of the tag.
- </blockquote>
- <h3>Functions</h3>
- <blockquote>
- <p/>
- A tag library can contain zero or more EL functions. If a tag
- library has at least one function, a page is generated that lists
- all functions, the class that implements the function, the
- function signature, and an optional example use of the function.
- </blockquote>
- <!--
- <H3>Index</H3>
- <BLOCKQUOTE>
- The <A HREF="index-files/index-1.html">Index</A> contains an
- alphabetic list of all validators, listeners, tags, functions,
- variables, and attributes.
- </BLOCKQUOTE>
- -->
- <H3>Prev/Next</H3>
- <blockquote>
- These links take you to the next or previous validator, listener,
- tag, function, or related page.
- </blockquote>
- <H3>Frames/No Frames</H3>
- <blockquote>
- These links show and hide the HTML frames. All pages are available
- with or without frames.
- </blockquote>
- <BR/>
- <HR/>
- <a name="navbar_bottom"><!-- --></a>
- <table border="0" width="100%" cellpadding="1" cellspacing="0">
- <tr>
- <td COLSPAN="3" BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
- <a NAME="navbar_bottom_firstrow"><!-- --></a>
- <table BORDER="0" CELLPADDING="0" CELLSPACING="3">
- <tr ALIGN="center" VALIGN="top">
- <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1">  <a href="overview-summary.html"><font CLASS="NavBarFont1"><b>Overview</b></font></a> </td>
- <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <font CLASS="NavBarFont1"> Library </font></td>
- <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <font CLASS="NavBarFont1"> Tag </font></td>
- <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1Rev">  <font CLASS="NavBarFont1Rev"><b>Help</b></font> </td>
- </tr>
- </table>
- </td>
- <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em>
- </em>
- </td>
- </tr>
- <tr>
- <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
-  PREV 
-  NEXT 
- </font></td>
- <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
-  <a HREF="index.html" TARGET="_top"><b>FRAMES</b></a> 
-  <a HREF="help-doc.html" TARGET="_top"><b>NO FRAMES</b></a> 
- <script>
- <!--
- if(window==top) {
- document.writeln('<A HREF="alltags-noframe.html" TARGET=""><B>All Tags</B></A>');
- }
- //-->
- </script>
- <noscript>
- <a HREF="alltags-noframe.html" TARGET=""><b>All Tags</b></a>
- </noscript>
- </font></td>
- </tr>
- </table>
- <HR/>
- <small><i>
- Output Generated by
- <a href="http://taglibrarydoc.dev.java.net/" target="_blank">Tag Library Documentation Generator</a>.
- Java, JSP, and JavaServer Pages are trademarks or
- registered trademarks of Sun Microsystems, Inc. in the US and other
- countries. Copyright 2002-4 Sun Microsystems, Inc.
- 4150 Network Circle
- Santa Clara, CA 95054, U.S.A.
- All Rights Reserved.
- </i></small>
- </BODY>
- </HTML>
- </xsl:template>
-</xsl:stylesheet>
Deleted: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/index.html.xsl
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/index.html.xsl 2007-08-28 16:37:06 UTC (rev 2545)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/index.html.xsl 2007-08-28 16:39:52 UTC (rev 2546)
@@ -1,75 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-
-<!--
- - <license>
- - Copyright (c) 2003-2004, Sun Microsystems, Inc.
- - All rights reserved.
- -
- - Redistribution and use in source and binary forms, with or without
- - modification, are permitted provided that the following conditions are met:
- -
- - * Redistributions of source code must retain the above copyright
- - notice, this list of conditions and the following disclaimer.
- - * Redistributions in binary form must reproduce the above copyright
- - notice, this list of conditions and the following disclaimer in the
- - documentation and/or other materials provided with the distribution.
- - * Neither the name of Sun Microsystems, Inc. nor the names of its
- - contributors may be used to endorse or promote products derived from
- - this software without specific prior written permission.
- -
- - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- - </license>
- -->
-
-<!--
- Document : index.html.xsl
- Created on : October 1, 2002, 5:37 PM
- Author : mroth
- Description:
- Creates the index page for Tag Library Documentation Generator
--->
-
-<xsl:stylesheet version="1.0"
- xmlns:javaee="http://java.sun.com/xml/ns/javaee"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:fo="http://www.w3.org/1999/XSL/Format">
-
- <xsl:output method="html" indent="yes"/>
-
- <!-- template rule matching source root element -->
- <xsl:template match="/">
- <html>
- <head>
- <title>
- <xsl:value-of select="/javaee:tlds/javaee:config/javaee:window-title"/>
- </title>
- </head>
- <frameset cols="20%,80%">
- <frameset rows="30%,70%">
- <frame src="overview-frame.html" name="tldListFrame"/>
- <frame src="alltags-frame.html" name="tldFrame"/>
- </frameset>
- <frame src="overview-summary.html" name="tagFrame"/>
- </frameset>
- <noframes>
- <h2>Frame Alert</h2>
- <p/>
- This document is designed to be viewed using the frames feature.
- If you see this message, you are using a non-frame-capable web
- client.
- <br/>
- Link to <a href="overview-summary.html">Non-frame version.</a>
- </noframes>
- </html>
- </xsl:template>
-</xsl:stylesheet>
Deleted: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/overview-frame.html.xsl
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/overview-frame.html.xsl 2007-08-28 16:37:06 UTC (rev 2545)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/overview-frame.html.xsl 2007-08-28 16:39:52 UTC (rev 2546)
@@ -1,114 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-
-<!--
- - <license>
- - Copyright (c) 2003-2004, Sun Microsystems, Inc.
- - All rights reserved.
- -
- - Redistribution and use in source and binary forms, with or without
- - modification, are permitted provided that the following conditions are met:
- -
- - * Redistributions of source code must retain the above copyright
- - notice, this list of conditions and the following disclaimer.
- - * Redistributions in binary form must reproduce the above copyright
- - notice, this list of conditions and the following disclaimer in the
- - documentation and/or other materials provided with the distribution.
- - * Neither the name of Sun Microsystems, Inc. nor the names of its
- - contributors may be used to endorse or promote products derived from
- - this software without specific prior written permission.
- -
- - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- - </license>
- -->
-
-<!--
- Document : overview-frame.html.xsl
- Created on : October 1, 2002, 5:37 PM
- Author : mroth
- Description:
- Creates the overview frame (upper left corner), listing all tag
- libraries included in this generation.
--->
-
-<xsl:stylesheet version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:fo="http://www.w3.org/1999/XSL/Format"
- xmlns:javaee="http://java.sun.com/xml/ns/javaee">
-
- <xsl:output method="html" indent="yes"/>
-
- <!-- template rule matching source root element -->
- <xsl:template match="/">
- <html>
- <head>
- <title>
- Overview (<xsl:value-of select="/javaee:tlds/javaee:config/javaee:window-title"/>)
- </title>
- <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"/>
- </head>
- <script>
- function asd() {
- parent.document.title="Overview (<xsl:value-of select="normalize-space(/javaee:tlds/javaee:config/javaee:window-title)"/>)";
- }
- </script>
- <body bgcolor="white" onload="asd();">
- <table border="0" width="100%">
- <tr>
- <td nowrap="true">
- <font size="+1" class="FrameTitleFont">
- <b><xsl:value-of select="/javaee:tlds/javaee:config/javaee:doc-title"/></b>
- </font>
- </td>
- </tr>
- </table>
- <table border="0" width="100%">
- <tr>
- <td nowrap="true">
- <font class="FrameItemFont">
- <a href="alltags-frame.html" target="tldFrame"><xsl:text>All Tags / Functions</xsl:text></a>
- </font>
- <p/>
- <font size="+1" class="FrameHeadingFont">
- Tag Libraries
- </font>
- <br/>
- <xsl:apply-templates select="javaee:tlds/javaee:taglib"/>
- </td>
- </tr>
- </table>
- <p/>
- </body>
- </html>
- </xsl:template>
-
- <xsl:template match="javaee:taglib">
- <font class="FrameItemFont">
- <xsl:element name="a">
- <xsl:attribute name="href"><xsl:value-of select="javaee:short-name"/>/tld-frame.html</xsl:attribute>
- <xsl:attribute name="target">tldFrame</xsl:attribute>
- <xsl:choose>
- <xsl:when test="javaee:display-name!=''">
- <xsl:value-of select="javaee:display-name"/>
- </xsl:when>
- <xsl:when test="javaee:short-name!=''">
- <xsl:value-of select="javaee:short-name"/>
- </xsl:when>
- <xsl:otherwise>
- Unnamed TLD
- </xsl:otherwise>
- </xsl:choose>
- </xsl:element>
- </font>
- <br/>
- </xsl:template>
-</xsl:stylesheet>
Deleted: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/overview-summary.html.xsl
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/overview-summary.html.xsl 2007-08-28 16:37:06 UTC (rev 2545)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/overview-summary.html.xsl 2007-08-28 16:39:52 UTC (rev 2546)
@@ -1,208 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-
-<!--
- - <license>
- - Copyright (c) 2003-2004, Sun Microsystems, Inc.
- - All rights reserved.
- -
- - Redistribution and use in source and binary forms, with or without
- - modification, are permitted provided that the following conditions are met:
- -
- - * Redistributions of source code must retain the above copyright
- - notice, this list of conditions and the following disclaimer.
- - * Redistributions in binary form must reproduce the above copyright
- - notice, this list of conditions and the following disclaimer in the
- - documentation and/or other materials provided with the distribution.
- - * Neither the name of Sun Microsystems, Inc. nor the names of its
- - contributors may be used to endorse or promote products derived from
- - this software without specific prior written permission.
- -
- - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- - </license>
- -->
-
-<!--
- Document : overview-summary.html.xsl
- Created on : October 1, 2002, 5:37 PM
- Author : mroth
- Description:
- Creates an overview summary (right frame), listing all tag
- libraries included in this generation.
--->
-
-<xsl:stylesheet version="1.0"
- xmlns:javaee="http://java.sun.com/xml/ns/javaee"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:fo="http://www.w3.org/1999/XSL/Format">
-
- <xsl:output method="html" indent="yes"/>
-
- <!-- template rule matching source root element -->
- <xsl:template match="/">
- <html>
- <head>
- <title>
- Overview (<xsl:value-of select="/javaee:tlds/javaee:config/javaee:window-title"/>)
- </title>
- <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"/>
- </head>
- <script>
- function asd() {
- parent.document.title="Overview (<xsl:value-of select="normalize-space(/javaee:tlds/javaee:config/javaee:window-title)"/>)";
- }
- </script>
- <body bgcolor="white" onload="asd();">
- <!-- =========== START OF NAVBAR =========== -->
- <a name="navbar_top"><!-- --></a>
- <table border="0" width="100%" cellpadding="1" cellspacing="0">
- <tr>
- <td COLSPAN="3" BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
- <a NAME="navbar_top_firstrow"><!-- --></a>
- <table BORDER="0" CELLPADDING="0" CELLSPACING="3">
- <tr ALIGN="center" VALIGN="top">
- <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <font CLASS="NavBarFont1Rev"><b> Overview </b></font></td>
- <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <font CLASS="NavBarFont1"> Library </font></td>
- <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <font CLASS="NavBarFont1"> Tag </font></td>
- <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <a HREF="help-doc.html"><font CLASS="NavBarFont1"><b>Help</b></font></a> </td>
- </tr>
- </table>
- </td>
- <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em>
- </em>
- </td>
- </tr>
- <tr>
- <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
- <!-- PREV -->
- <!-- NEXT -->
- </font></td>
- <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
-  <a HREF="index.html" TARGET="_top"><b>FRAMES</b></a> 
-  <a HREF="overview-summary.html" TARGET="_top"><b>NO FRAMES</b></a> 
- <script>
- <!--
- if(window==top) {
- document.writeln('<A HREF="alltags-noframe.html" TARGET=""><B>All Tags</B></A>');
- }
- //-->
- </script>
- <noscript>
- <a HREF="alltags-noframe.html" TARGET=""><b>All Tags</b></a>
- </noscript>
- </font></td>
- </tr>
- </table>
- <!-- =========== END OF NAVBAR =========== -->
- <hr/>
- <center>
- <h2><xsl:value-of select="/javaee:tlds/javaee:config/javaee:doc-title"/></h2>
- </center>
- <table BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
- <tr BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
- <td COLSPAN="2"><font SIZE="+2">
- <b>Tag Libraries</b>
- </font></td>
- </tr>
- <xsl:apply-templates select="/javaee:tlds/javaee:taglib"/>
- </table>
- <p/>
- <hr/>
- <!-- =========== START OF NAVBAR =========== -->
- <a name="navbar_bottom"><!-- --></a>
- <table border="0" width="100%" cellpadding="1" cellspacing="0">
- <tr>
- <td COLSPAN="3" BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
- <a NAME="navbar_bottom_firstrow"><!-- --></a>
- <table BORDER="0" CELLPADDING="0" CELLSPACING="3">
- <tr ALIGN="center" VALIGN="top">
- <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <font CLASS="NavBarFont1Rev"><b> Overview </b></font></td>
- <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <font CLASS="NavBarFont1"> Library </font></td>
- <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <font CLASS="NavBarFont1"> Tag </font></td>
- <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <a HREF="help-doc.html"><font CLASS="NavBarFont1"><b>Help</b></font></a> </td>
- </tr>
- </table>
- </td>
- <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em>
- </em>
- </td>
- </tr>
- <tr>
- <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
- <!-- PREV -->
- <!-- NEXT -->
- </font></td>
- <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
-  <a HREF="index.html" TARGET="_top"><b>FRAMES</b></a> 
-  <a HREF="overview-summary.html" TARGET="_top"><b>NO FRAMES</b></a> 
- <script>
- <!--
- if(window==top) {
- document.writeln('<A HREF="alltags-noframe.html" TARGET=""><B>All Tags</B></A>');
- }
- //-->
- </script>
- <noscript>
- <a HREF="alltags-noframe.html" TARGET=""><b>All Tags</b></a>
- </noscript>
- </font></td>
- </tr>
- </table>
- <!-- =========== END OF NAVBAR =========== -->
- <hr/>
- <small><i>
- Output Generated by
- <a href="http://taglibrarydoc.dev.java.net/" target="_blank">Tag Library Documentation Generator</a>.
- Java, JSP, and JavaServer Pages are trademarks or
- registered trademarks of Sun Microsystems, Inc. in the US and other
- countries. Copyright 2002-4 Sun Microsystems, Inc.
- 4150 Network Circle
- Santa Clara, CA 95054, U.S.A.
- All Rights Reserved.
- </i></small>
- </body>
- </html>
- </xsl:template>
-
- <xsl:template match="javaee:taglib">
- <tr BGCOLOR="white" valign="top" CLASS="TableRowColor">
- <td WIDTH="20%"><b>
- <xsl:element name="a">
- <xsl:attribute name="href"><xsl:value-of select="javaee:short-name"/>/tld-summary.html</xsl:attribute>
- <xsl:choose>
- <xsl:when test="javaee:display-name!=''">
- <xsl:value-of select="javaee:display-name"/>
- </xsl:when>
- <xsl:when test="javaee:short-name!=''">
- <xsl:value-of select="javaee:short-name"/>
- </xsl:when>
- <xsl:otherwise>
- Unnamed TLD
- </xsl:otherwise>
- </xsl:choose>
- </xsl:element>
- </b></td>
- <td>
- <xsl:choose>
- <xsl:when test="javaee:description!=''">
- <pre>
- <xsl:value-of select="javaee:description" disable-output-escaping="yes"/>
- </pre>
- </xsl:when>
- <xsl:otherwise>
- <i>No Description</i>
- </xsl:otherwise>
- </xsl:choose>
- </td>
- </tr>
- </xsl:template>
-</xsl:stylesheet>
Deleted: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/stylesheet.css
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/stylesheet.css 2007-08-28 16:37:06 UTC (rev 2545)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/stylesheet.css 2007-08-28 16:39:52 UTC (rev 2546)
@@ -1,60 +0,0 @@
-/* Javadoc style sheet */
-
-/*
- * <license>
- * Copyright (c) 2003-2004, Sun Microsystems, Inc.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- * </license>
- */
-
-/* Define colors, fonts and other style attributes here to override the defaults */
-
-/* Page background color */
-body { background-color: #FFFFFF }
-
-/* Table colors */
-.TableHeadingColor { background: #CCCCFF } /* Dark mauve */
-.TableSubHeadingColor { background: #EEEEFF } /* Light mauve */
-.TableRowColor { background: #FFFFFF } /* White */
-
-/* Font used in left-hand frame lists */
-.FrameTitleFont { font-size: 10pts; font-family: Helvetica, Arial, san-serif }
-.FrameHeadingFont { font-size: 10pts; font-family: Helvetica, Arial, san-serif }
-.FrameItemFont { font-size: 10pts; font-family: Helvetica, Arial, san-serif }
-
-/* Example of smaller, sans-serif font in frames */
-/* .FrameItemFont { font-size: 10pt; font-family: Helvetica, Arial, sans-serif } */
-
-/* Navigation bar fonts and colors */
-.NavBarCell1 { background-color:#EEEEFF;}/* Light mauve */
-.NavBarCell1Rev { background-color:#00008B;}/* Dark Blue */
-.NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;}
-.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;}
-
-.NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;}
-.NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;}
-
Deleted: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tag.html.xsl
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tag.html.xsl 2007-08-28 16:37:06 UTC (rev 2545)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tag.html.xsl 2007-08-28 16:39:52 UTC (rev 2546)
@@ -1,317 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-
-<!--
- - <license>
- - Copyright (c) 2003-2004, Sun Microsystems, Inc.
- - All rights reserved.
- -
- - Redistribution and use in source and binary forms, with or without
- - modification, are permitted provided that the following conditions are met:
- -
- - * Redistributions of source code must retain the above copyright
- - notice, this list of conditions and the following disclaimer.
- - * Redistributions in binary form must reproduce the above copyright
- - notice, this list of conditions and the following disclaimer in the
- - documentation and/or other materials provided with the distribution.
- - * Neither the name of Sun Microsystems, Inc. nor the names of its
- - contributors may be used to endorse or promote products derived from
- - this software without specific prior written permission.
- -
- - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- - </license>
- -->
-
-<!--
- Document : tag.html.xsl
- Created on : December 18, 2002, 5:22 PM
- Author : mroth
- Description:
- Creates the tag detail page (right frame), listing the known
- information for a given tag in a tag library.
--->
-
-<xsl:stylesheet version="1.0"
- xmlns:javaee="http://java.sun.com/xml/ns/javaee"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:fo="http://www.w3.org/1999/XSL/Format">
-
- <xsl:output method="xml" indent="yes" omit-xml-declaration="yes"/>
-
- <xsl:param name="tlddoc-shortName">default</xsl:param>
- <xsl:param name="tlddoc-tagName">default</xsl:param>
-
- <!-- template rule matching source root element -->
- <xsl:template match="/">
- <xsl:apply-templates select="javaee:tlds/javaee:taglib"/>
- </xsl:template>
-
- <xsl:template match="javaee:taglib">
- <xsl:if test="javaee:short-name=$tlddoc-shortName">
- <xsl:apply-templates select="javaee:tag|javaee:tag-file"/>
- </xsl:if>
- </xsl:template>
-
- <xsl:template match="javaee:tag|javaee:tag-file">
- <xsl:if test="javaee:name=$tlddoc-tagName">
- <xsl:variable name="tldname">
- <xsl:choose>
- <xsl:when test="../javaee:display-name!=''">
- <xsl:value-of select="../javaee:display-name"/>
- </xsl:when>
- <xsl:when test="../javaee:short-name!=''">
- <xsl:value-of select="../javaee:short-name"/>
- </xsl:when>
- <xsl:otherwise>
- Unnamed TLD
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
- <xsl:variable name="title">
- <xsl:value-of select="javaee:name"/>
- (<xsl:value-of select="/javaee:tlds/javaee:config/javaee:window-title"/>)
- </xsl:variable>
-
- <!-- Tag Information -->
- <table class="doctable" cellpadding="3" cellspacing="0" width="100%">
- <tr class="TableHeadingColor">
- <td colspan="2">
- <font size="+2">
- <b>Tag Information</b>
- </font>
- </td>
- </tr>
- <tr>
- <td>Tag Class</td>
- <td>
- <xsl:choose>
- <xsl:when test="javaee:tag-class!=''">
- <xsl:value-of select="javaee:tag-class"/>
- </xsl:when>
- <xsl:otherwise>
- <i>None</i>
- </xsl:otherwise>
- </xsl:choose>
- </td>
- </tr>
- <tr>
- <td>TagExtraInfo Class</td>
- <td>
- <xsl:choose>
- <xsl:when test="javaee:tei-class!=''">
- <xsl:value-of select="javaee:tei-class"/>
- </xsl:when>
- <xsl:otherwise>
- <i>None</i>
- </xsl:otherwise>
- </xsl:choose>
- </td>
- </tr>
- <tr>
- <td>Body Content</td>
- <td>
- <xsl:choose>
- <xsl:when test="javaee:body-content!=''">
- <xsl:value-of select="javaee:body-content"/>
- </xsl:when>
- <xsl:otherwise>
- <i>None</i>
- </xsl:otherwise>
- </xsl:choose>
- </td>
- </tr>
- <tr>
- <td>Display Name</td>
- <td>
- <xsl:choose>
- <xsl:when test="javaee:display-name!=''">
- <xsl:value-of select="javaee:display-name"/>
- </xsl:when>
- <xsl:otherwise>
- <i>None</i>
- </xsl:otherwise>
- </xsl:choose>
- </td>
- </tr>
- </table>
-
- <!-- Attribute Information -->
- <table class="doctable" cellpadding="3" cellspacing="0" width="100%">
- <tr class="TableHeadingColor">
- <td colspan="5">
- <font size="+2">
- <b>Attributes</b>
- </font>
- </td>
- </tr>
- <xsl:choose>
- <xsl:when test="count(javaee:attribute)>0">
- <tr>
- <td><b>Name</b></td>
- <td><b>Required</b></td>
- <td><b>Request-time</b></td>
- <td><b>Type</b></td>
- <td><b>Description</b></td>
- </tr>
- <xsl:apply-templates select="javaee:attribute"/>
- </xsl:when>
- <xsl:otherwise>
- <td colspan="5"><i>No Attributes Defined.</i></td>
- </xsl:otherwise>
- </xsl:choose>
- </table>
-
- <!-- Variable Information -->
- <table border="1" cellpadding="3" cellspacing="0" width="100%">
- <tr bgcolor="#CCCCFF" class="TableHeadingColor">
- <td colspan="5">
- <font size="+2">
- <b>Variables</b>
- </font>
- </td>
- </tr>
- <xsl:choose>
- <xsl:when test="count(javaee:variable)>0">
- <tr>
- <td><b>Name</b></td>
- <td><b>Type</b></td>
- <td><b>Declare</b></td>
- <td><b>Scope</b></td>
- <td><b>Description</b></td>
- </tr>
- <xsl:apply-templates select="javaee:variable"/>
- </xsl:when>
- <xsl:otherwise>
- <td colspan="2"><i>No Variables Defined.</i></td>
- </xsl:otherwise>
- </xsl:choose>
- </table>
- </xsl:if>
- </xsl:template>
-
- <xsl:template match="javaee:attribute">
- <tr valign="top">
- <td><xsl:apply-templates select="javaee:name"/></td>
- <td>
- <xsl:choose>
- <xsl:when test="javaee:required!=''">
- <xsl:value-of select="javaee:required"/>
- </xsl:when>
- <xsl:otherwise>false</xsl:otherwise>
- </xsl:choose>
- </td>
- <td>
- <xsl:choose>
- <xsl:when test="javaee:rtexprvalue!=''">
- <xsl:value-of select="javaee:rtexprvalue"/>
- </xsl:when>
- <xsl:otherwise>false</xsl:otherwise>
- </xsl:choose>
- </td>
- <td>
- <xsl:choose>
- <xsl:when test="javaee:deferred-value">
- <xsl:choose>
- <xsl:when test="javaee:deferred-value/javaee:type">
- <code>javax.el.ValueExpression</code>
- <br/>(<i>must evaluate to </i><code><xsl:value-of
- select="javaee:deferred-value/javaee:type"/></code>)
- </xsl:when>
- <xsl:otherwise>
- <code>javax.el.ValueExpression</code>
- <br/>(<i>must evaluate to </i><code>java.lang.Object</code>)
- </xsl:otherwise>
- </xsl:choose>
- </xsl:when>
- <xsl:when test="javaee:deferred-method">
- <xsl:choose>
- <xsl:when test="javaee:deferred-method/javaee:method-signature">
- <code>javax.el.MethodExpression</code>
- <br/>(<i>signature must match </i><code><xsl:value-of
- select="javaee:deferred-method/javaee:method-signature"/></code>)
- </xsl:when>
- <xsl:otherwise>
- <code>javax.el.MethodExpression</code>
- <br/>(<i>signature must match </i><code>void methodname()</code>)
- </xsl:otherwise>
- </xsl:choose>
- </xsl:when>
- <xsl:when test="javaee:type!=''">
- <code><xsl:value-of select="javaee:type"/></code>
- </xsl:when>
- <xsl:otherwise>
- <code>java.lang.String</code>
- </xsl:otherwise>
- </xsl:choose>
- </td>
- <td>
- <xsl:choose>
- <xsl:when test="javaee:description!=''">
- <xsl:value-of select="javaee:description" disable-output-escaping="yes"/>
- </xsl:when>
- <xsl:otherwise><i>No Description</i></xsl:otherwise>
- </xsl:choose>
- </td>
- </tr>
- </xsl:template>
-
- <xsl:template match="javaee:variable">
- <tr>
- <td>
- <xsl:choose>
- <xsl:when test="javaee:name-given!=''">
- <xsl:value-of select="javaee:name-given"/>
- </xsl:when>
- <xsl:when test="javaee:name-from-attribute!=''">
- <i>From attribute '<xsl:value-of select="javaee:name-from-attribute"/>'</i>
- </xsl:when>
- <xsl:otherwise>
- <i>Unknown</i>
- </xsl:otherwise>
- </xsl:choose>
- </td>
- <td>
- <xsl:choose>
- <xsl:when test="javaee:variable-class!=''">
- <code><xsl:value-of select="javaee:variable-class"/></code>
- </xsl:when>
- <xsl:otherwise><code>java.lang.String</code></xsl:otherwise>
- </xsl:choose>
- </td>
- <td>
- <xsl:choose>
- <xsl:when test="javaee:declare!=''">
- <xsl:value-of select="javaee:declare"/>
- </xsl:when>
- <xsl:otherwise>true</xsl:otherwise>
- </xsl:choose>
- </td>
- <td>
- <xsl:choose>
- <xsl:when test="javaee:scope!=''">
- <xsl:value-of select="javaee:scope"/>
- </xsl:when>
- <xsl:otherwise>NESTED</xsl:otherwise>
- </xsl:choose>
- </td>
- <td>
- <xsl:choose>
- <xsl:when test="javaee:description!=''">
- <xsl:value-of select="javaee:description" disable-output-escaping="yes"/>
- </xsl:when>
- <xsl:otherwise><i>No Description</i></xsl:otherwise>
- </xsl:choose>
- </td>
- </tr>
- </xsl:template>
-
-</xsl:stylesheet>
Deleted: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld-frame.html.xsl
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld-frame.html.xsl 2007-08-28 16:37:06 UTC (rev 2545)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld-frame.html.xsl 2007-08-28 16:39:52 UTC (rev 2546)
@@ -1,188 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-
-<!--
- - <license>
- - Copyright (c) 2003-2004, Sun Microsystems, Inc.
- - All rights reserved.
- -
- - Redistribution and use in source and binary forms, with or without
- - modification, are permitted provided that the following conditions are met:
- -
- - * Redistributions of source code must retain the above copyright
- - notice, this list of conditions and the following disclaimer.
- - * Redistributions in binary form must reproduce the above copyright
- - notice, this list of conditions and the following disclaimer in the
- - documentation and/or other materials provided with the distribution.
- - * Neither the name of Sun Microsystems, Inc. nor the names of its
- - contributors may be used to endorse or promote products derived from
- - this software without specific prior written permission.
- -
- - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- - </license>
- -->
-
-<!--
- Document : tld-frame.html.xsl
- Created on : December 18, 2002, 11:40 AM
- Author : mroth
- Description:
- Creates the TLD frame (lower-left hand corner), listing the tags
- and functions that are in this particular tag library.
--->
-
-<xsl:stylesheet version="1.0"
- xmlns:javaee="http://java.sun.com/xml/ns/javaee"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:fo="http://www.w3.org/1999/XSL/Format">
-
- <xsl:output method="html" indent="yes"/>
-
- <xsl:param name="tlddoc-shortName">default</xsl:param>
-
- <!-- template rule matching source root element -->
- <xsl:template match="/">
- <xsl:apply-templates select="javaee:tlds/javaee:taglib"/>
- </xsl:template>
-
- <xsl:template match="javaee:taglib">
- <xsl:if test="javaee:short-name=$tlddoc-shortName">
- <xsl:variable name="tldname">
- <xsl:choose>
- <xsl:when test="javaee:display-name!=''">
- <xsl:value-of select="javaee:display-name"/>
- </xsl:when>
- <xsl:when test="javaee:short-name!=''">
- <xsl:value-of select="javaee:short-name"/>
- </xsl:when>
- <xsl:otherwise>
- Unnamed TLD
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
- <xsl:variable name="tldfull">
- <xsl:value-of select="$tldname"/>
- <xsl:choose>
- <xsl:when test="javaee:description!=''">
- (<xsl:value-of select="javaee:description" disable-output-escaping="yes"/>)
- </xsl:when>
- <xsl:otherwise>
- No Description
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
- <html>
- <head>
- <title>
- <xsl:value-of select="$tldfull"/>
- </title>
- <meta name="keywords" content="$tldfull"/>
- <link rel="stylesheet" type="text/css" href="../stylesheet.css"
- title="Style"/>
- <script>
- function asd()
- {
- parent.document.title="<xsl:value-of select="normalize-space($tldfull)"/>";
- }
- </script>
- </head>
- <body bgcolor="white" onload="asd();">
- <font size="+1" class="FrameTitleFont">
- <a href="tld-summary.html" target="tagFrame">
- <xsl:value-of select="$tldname"/>
- </a>
- </font>
- <table border="0" width="100%">
- <xsl:if test="(count(javaee:tag)+count(javaee:tag-file))>0">
- <tr>
- <td nowrap="true">
- <font size="+1" class="FrameHeadingFont">
- Tags
- </font> 
- <font class="FrameItemFont">
- <xsl:apply-templates select="javaee:tag|javaee:tag-file"/>
- </font>
- </td>
- </tr>
- </xsl:if>
- <xsl:if test="count(javaee:function)>0">
- <tr>
- <td nowrap="true">
- <font size="+1" class="FrameHeadingFont">
- Functions
- </font> 
- <font class="FrameItemFont">
- <xsl:apply-templates select="javaee:function"/>
- </font>
- </td>
- </tr>
- </xsl:if>
- <xsl:if test="count(javaee:validator)>0">
- <tr>
- <td nowrap="true">
- <font size="+1" class="FrameHeadingFont">
- Validator
- </font> 
- <font class="FrameItemFont">
- <xsl:apply-templates select="javaee:validator"/>
- </font>
- </td>
- </tr>
- </xsl:if>
- <xsl:if test="count(javaee:listener)>0">
- <tr>
- <td nowrap="true">
- <font size="+1" class="FrameHeadingFont">
- Listeners
- </font> 
- <font class="FrameItemFont">
- <xsl:apply-templates select="javaee:listener"/>
- </font>
- </td>
- </tr>
- </xsl:if>
- </table>
- <!-- <table ... -->
- </body>
- </html>
- </xsl:if>
- </xsl:template>
-
- <xsl:template match="javaee:tag|javaee:tag-file">
- <br/>
- <xsl:element name="a">
- <xsl:attribute name="href"><xsl:value-of select="javaee:name"/>.html</xsl:attribute>
- <xsl:attribute name="target">tagFrame</xsl:attribute>
- <xsl:value-of select="../javaee:short-name"/>:<xsl:value-of select="javaee:name"/>
- </xsl:element>
- </xsl:template>
-
- <xsl:template match="javaee:function">
- <br/>
- <xsl:element name="a">
- <xsl:attribute name="href"><xsl:value-of select="javaee:name"/>.fn.html</xsl:attribute>
- <xsl:attribute name="target">tagFrame</xsl:attribute>
- <i><xsl:value-of select="../javaee:short-name"/>:<xsl:value-of select="javaee:name"/>()</i>
- </xsl:element>
- </xsl:template>
-
- <xsl:template match="javaee:validator">
- <br/>
- <xsl:value-of select="javaee:validator-class"/>
- </xsl:template>
-
- <xsl:template match="javaee:listener">
- <br/>
- <xsl:value-of select="javaee:listener-class"/>
- </xsl:template>
-
-</xsl:stylesheet>
Deleted: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld-summary.html.xsl
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld-summary.html.xsl 2007-08-28 16:37:06 UTC (rev 2545)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld-summary.html.xsl 2007-08-28 16:39:52 UTC (rev 2546)
@@ -1,445 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-
-<!--
- - <license>
- - Copyright (c) 2003-2004, Sun Microsystems, Inc.
- - All rights reserved.
- -
- - Redistribution and use in source and binary forms, with or without
- - modification, are permitted provided that the following conditions are met:
- -
- - * Redistributions of source code must retain the above copyright
- - notice, this list of conditions and the following disclaimer.
- - * Redistributions in binary form must reproduce the above copyright
- - notice, this list of conditions and the following disclaimer in the
- - documentation and/or other materials provided with the distribution.
- - * Neither the name of Sun Microsystems, Inc. nor the names of its
- - contributors may be used to endorse or promote products derived from
- - this software without specific prior written permission.
- -
- - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- - </license>
- -->
-
-<!--
- Document : tld-summary.html.xsl
- Created on : December 18, 2002, 3:46 PM
- Author : mroth
- Description:
- Creates the TLD summary (right frame), listing the tags
- and functions that are in this particular tag library and
- their descriptions.
--->
-
-<xsl:stylesheet version="1.0"
- xmlns:javaee="http://java.sun.com/xml/ns/javaee"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:fo="http://www.w3.org/1999/XSL/Format">
-
- <xsl:output method="html" indent="yes"/>
-
- <xsl:param name="tlddoc-shortName">default</xsl:param>
-
- <!-- template rule matching source root element -->
- <xsl:template match="/">
- <xsl:apply-templates select="javaee:tlds/javaee:taglib"/>
- </xsl:template>
-
- <xsl:template match="javaee:taglib">
- <xsl:if test="javaee:short-name=$tlddoc-shortName">
- <xsl:variable name="tldname">
- <xsl:choose>
- <xsl:when test="javaee:display-name!=''">
- <xsl:value-of select="javaee:display-name"/>
- </xsl:when>
- <xsl:when test="javaee:short-name!=''">
- <xsl:value-of select="javaee:short-name"/>
- </xsl:when>
- <xsl:otherwise>
- Unnamed TLD
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
- <xsl:variable name="title">
- <xsl:value-of select="$tldname"/>
- (<xsl:value-of select="/javaee:tlds/javaee:config/javaee:window-title"/>)
- </xsl:variable>
- <html>
- <head>
- <title><xsl:value-of select="$title"/></title>
- <link rel="stylesheet" type="text/css" href="../stylesheet.css"
- title="styie"/>
- </head>
- <script>
- function asd()
- {
- parent.document.title="<xsl:value-of select="normalize-space($title)"/>";
- }
- </script>
- <body bgcolor="white" onload="asd();">
- <!-- =========== START OF NAVBAR =========== -->
- <a name="navbar_top"><!-- --></a>
- <table border="0" width="100%" cellpadding="1" cellspacing="0">
- <tr>
- <td COLSPAN="3" BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
- <a NAME="navbar_top_firstrow"><!-- --></a>
- <table BORDER="0" CELLPADDING="0" CELLSPACING="3">
- <tr ALIGN="center" VALIGN="top">
- <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <a href="../overview-summary.html"><font CLASS="NavBarFont1"><b>Overview</b></font></a> </td>
- <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev">  <font CLASS="NavBarFont1Rev"> Library </font> </td>
- <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <font CLASS="NavBarFont1"> Tag </font></td>
- <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <a HREF="../help-doc.html"><font CLASS="NavBarFont1"><b>Help</b></font></a> </td>
- </tr>
- </table>
- </td>
- <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em>
- </em>
- </td>
- </tr>
- <tr>
- <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
- <!-- PREV TAGLIB -->
- <!-- NEXT TAGLIB -->
- </font></td>
- <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
-  <a HREF="../index.html" TARGET="_top"><b>FRAMES</b></a> 
-  <a HREF="tld-summary.html" TARGET="_top"><b>NO FRAMES</b></a> 
- <script>
- <!--
- if(window==top) {
- document.writeln('<A HREF="alltags-noframe.html" TARGET=""><B>All Tags</B></A>');
- }
- //-->
- </script>
- <noscript>
- <a HREF="../alltags-noframe.html" TARGET=""><b>All Tags</b></a>
- </noscript>
- </font></td>
- </tr>
- </table>
- <!-- =========== END OF NAVBAR =========== -->
-
- <hr/>
- <h2><xsl:value-of select="$tldname"/></h2>
- <hr/>
- <xsl:if test="(javaee:uri!='') and (javaee:short-name!='')">
- <b>Standard Syntax:</b><br/>
- <code>
-     
- <xsl:choose>
- <xsl:when test='starts-with(javaee:uri,"/WEB-INF/tags")'>
- <%@ taglib prefix="<xsl:value-of select="javaee:short-name"/>" tagdir="<xsl:value-of select="javaee:uri"/>" %><br/>
- </xsl:when>
- <xsl:otherwise>
- <%@ taglib prefix="<xsl:value-of select="javaee:short-name"/>" uri="<xsl:value-of select="javaee:uri"/>" %><br/>
- </xsl:otherwise>
- </xsl:choose>
- </code>
- <br/>
- <b>XML Syntax:</b><br/>
- <code>
-     
- <xsl:choose>
- <xsl:when test='starts-with(javaee:uri,"/WEB-INF/tags")'>
- <anyxmlelement xmlns:<xsl:value-of select="javaee:short-name"/>="urn:jsptagdir:<xsl:value-of select="javaee:uri"/>" /><br/>
- </xsl:when>
- <xsl:when test='starts-with(javaee:uri,"/")'>
- <anyxmlelement xmlns:<xsl:value-of select="javaee:short-name"/>="urn:jsptld:<xsl:value-of select="javaee:uri"/>" /><br/>
- </xsl:when>
- <xsl:otherwise>
- <anyxmlelement xmlns:<xsl:value-of select="javaee:short-name"/>="<xsl:value-of select="javaee:uri"/>" /><br/>
- </xsl:otherwise>
- </xsl:choose>
- </code>
- <hr/>
- </xsl:if>
- <xsl:choose>
- <xsl:when test="javaee:description!=''">
- <pre>
- <xsl:value-of select="javaee:description" disable-output-escaping="yes"/>
- </pre>
- </xsl:when>
- <xsl:otherwise>
- No Description
- </xsl:otherwise>
- </xsl:choose>
- <p/>
- <table border="1" cellpadding="3" cellspacing="0" width="100%">
- <tr bgcolor="#CCCCFF" class="TableHeadingColor">
- <td colspan="2">
- <font size="+2"><b>Tag Library Information</b></font>
- </td>
- </tr>
- <tr>
- <td>Display Name</td>
- <xsl:choose>
- <xsl:when test="javaee:display-name!=''">
- <td><xsl:value-of select="javaee:display-name"/></td>
- </xsl:when>
- <xsl:otherwise>
- <td><i>None</i></td>
- </xsl:otherwise>
- </xsl:choose>
- </tr>
- <tr>
- <td>Version</td>
- <xsl:choose>
- <xsl:when test="javaee:tlib-version!=''">
- <td><xsl:value-of select="javaee:tlib-version"/></td>
- </xsl:when>
- <xsl:otherwise>
- <td><i>None</i></td>
- </xsl:otherwise>
- </xsl:choose>
- </tr>
- <tr>
- <td>Short Name</td>
- <xsl:choose>
- <xsl:when test="javaee:short-name!=''">
- <td><xsl:value-of select="javaee:short-name"/></td>
- </xsl:when>
- <xsl:otherwise>
- <td><i>None</i></td>
- </xsl:otherwise>
- </xsl:choose>
- </tr>
- <tr>
- <td>URI</td>
- <xsl:choose>
- <xsl:when test="javaee:uri!=''">
- <td><xsl:value-of select="javaee:uri"/></td>
- </xsl:when>
- <xsl:otherwise>
- <td><i>None</i></td>
- </xsl:otherwise>
- </xsl:choose>
- </tr>
- </table>
-  
- <p/>
- <!-- tags and tag files -->
- <xsl:if test="(count(javaee:tag)+count(javaee:tag-file)) > 0">
- <table border="1" cellpadding="3" cellspacing="0" width="100%">
- <tr bgcolor="#CCCCFF" class="TableHeadingColor">
- <td colspan="2">
- <font size="+2"><b>Tag Summary</b></font>
- </td>
- </tr>
- <xsl:apply-templates select="javaee:tag|javaee:tag-file"/>
- </table>
-  
- <p/>
- </xsl:if>
- <!-- functions -->
- <xsl:if test="count(javaee:function) > 0">
- <table border="1" cellpadding="3" cellspacing="0" width="100%">
- <tr bgcolor="#CCCCFF" class="TableHeadingColor">
- <td colspan="3">
- <font size="+2"><b>Function Summary</b></font>
- </td>
- </tr>
- <xsl:apply-templates select="javaee:function"/>
- </table>
-  
- <p/>
- </xsl:if>
- <!-- validators -->
- <xsl:if test="count(javaee:validator) > 0">
- <table border="1" cellpadding="3" cellspacing="0" width="100%">
- <tr bgcolor="#CCCCFF" class="TableHeadingColor">
- <td colspan="2">
- <font size="+2"><b>Tag Library Validator</b></font>
- </td>
- </tr>
- <xsl:apply-templates select="javaee:validator"/>
- </table>
-  
- <p/>
- </xsl:if>
- <!-- listeners -->
- <xsl:if test="count(javaee:listener) > 0">
- <table border="1" cellpadding="3" cellspacing="0" width="100%">
- <tr bgcolor="#CCCCFF" class="TableHeadingColor">
- <td>
- <font size="+2"><b>Listeners</b></font>
- </td>
- </tr>
- <xsl:apply-templates select="javaee:listener"/>
- </table>
-  
- <p/>
- </xsl:if>
- <!-- taglib-extensions -->
-
- <!-- =========== START OF NAVBAR =========== -->
- <a name="navbar_bottom"><!-- --></a>
- <table border="0" width="100%" cellpadding="1" cellspacing="0">
- <tr>
- <td COLSPAN="3" BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
- <a NAME="navbar_bottom_firstrow"><!-- --></a>
- <table BORDER="0" CELLPADDING="0" CELLSPACING="3">
- <tr ALIGN="center" VALIGN="top">
- <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <a href="../overview-summary.html"><font CLASS="NavBarFont1"><b>Overview</b></font></a> </td>
- <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev">  <font CLASS="NavBarFont1Rev"> Library </font> </td>
- <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <font CLASS="NavBarFont1"> Tag </font></td>
- <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <a HREF="../help-doc.html"><font CLASS="NavBarFont1"><b>Help</b></font></a> </td>
- </tr>
- </table>
- </td>
- <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em>
- </em>
- </td>
- </tr>
- <tr>
- <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
- <!-- PREV TAGLIB -->
- <!-- NEXT TAGLIB -->
- </font></td>
- <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
-  <a HREF="../index.html" TARGET="_top"><b>FRAMES</b></a> 
-  <a HREF="tld-summary.html" TARGET="_top"><b>NO FRAMES</b></a> 
- <script>
- <!--
- if(window==top) {
- document.writeln('<A HREF="alltags-noframe.html" TARGET=""><B>All Tags</B></A>');
- }
- //-->
- </script>
- <noscript>
- <a HREF="../alltags-noframe.html" TARGET=""><b>All Tags</b></a>
- </noscript>
- </font></td>
- </tr>
- </table>
- <!-- =========== END OF NAVBAR =========== -->
- <hr/>
- <small><i>
- Java, JSP, and JavaServer Pages are trademarks or registered
- trademarks of Sun Microsystems, Inc. in the US and other countries.
- Copyright 2002-3 Sun Microsystems, Inc.
- 4150 Network Circle
- Santa Clara, CA 95054, U.S.A.
- All Rights Reserved.
- </i></small>
- </body>
- </html>
- </xsl:if>
- </xsl:template>
-
- <xsl:template match="javaee:tag|javaee:tag-file">
- <tr bgcolor="white" class="TableRowColor">
- <td width="15%">
- <b>
- <xsl:element name="a">
- <xsl:attribute name="href"><xsl:value-of select="javaee:name"/>.html</xsl:attribute>
- <xsl:value-of select="javaee:name"/>
- </xsl:element>
- </b>
- </td>
- <td>
- <xsl:choose>
- <xsl:when test="javaee:description!=''">
- <xsl:value-of select="javaee:description" disable-output-escaping="yes"/>
- </xsl:when>
- <xsl:otherwise>
- <i>No Description</i>
- </xsl:otherwise>
- </xsl:choose>
- </td>
- </tr>
- </xsl:template>
-
- <xsl:template match="javaee:function">
- <tr bgcolor="white" class="TableRowColor">
- <td width="15%" nowrap="" align="right">
- <code><xsl:value-of select='substring-before(normalize-space(javaee:function-signature)," ")'/></code>
- </td>
- <td width="15%" nowrap="">
- <code><b>
- <xsl:element name="a">
- <xsl:attribute name="href"><xsl:value-of select="javaee:name"/>.fn.html</xsl:attribute>
- <xsl:value-of select="javaee:name"/>
- </xsl:element>
- </b>( <xsl:value-of select='substring-after(normalize-space(javaee:function-signature),"(")'/>
- </code>
- </td>
- <td>
- <xsl:choose>
- <xsl:when test="javaee:description!=''">
- <xsl:value-of select="javaee:description" disable-output-escaping="yes"/>
- </xsl:when>
- <xsl:otherwise>
- <i>No Description</i>
- </xsl:otherwise>
- </xsl:choose>
- </td>
- </tr>
- </xsl:template>
-
- <xsl:template match="javaee:validator">
- <tr valign="top" bgcolor="white" class="TableRowColor">
- <td width="15%">
- <b><xsl:value-of select="javaee:validator-class"/></b>
- </td>
- <td>
- <xsl:choose>
- <xsl:when test="javaee:description!=''">
- <xsl:value-of select="javaee:description" disable-output-escaping="yes"/>
- </xsl:when>
- <xsl:otherwise>
- <i>No Description</i>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:if test="count(javaee:init-param)>0">
- <blockquote>
- <b>Initialization Parameters:</b><br/>
- <table border="1">
- <tr>
- <td><b>Name</b></td>
- <td><b>Value</b></td>
- <td><b>Description</b></td>
- </tr>
- <xsl:apply-templates select="javaee:init-param"/>
- </table>
- </blockquote>
- </xsl:if>
- </td>
- </tr>
- </xsl:template>
-
- <xsl:template match="javaee:init-param">
- <tr valign="top">
- <td><xsl:value-of select="javaee:param-name"/></td>
- <td><xsl:value-of select="javaee:param-value"/></td>
- <td>
- <xsl:choose>
- <xsl:when test="javaee:param-description!=''">
- <xsl:value-of select="javaee:param-description"/>
- </xsl:when>
- <xsl:otherwise>
- <i>No Description</i>
- </xsl:otherwise>
- </xsl:choose>
- </td>
- </tr>
- </xsl:template>
-
- <xsl:template match="javaee:listener">
- <tr valign="top" bgcolor="white" class="TableRowColor">
- <td>
- <b><xsl:value-of select="javaee:listener-class"/></b>
- </td>
- </tr>
- </xsl:template>
-
-</xsl:stylesheet>
Deleted: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld1_1-tld1_2.xsl
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld1_1-tld1_2.xsl 2007-08-28 16:37:06 UTC (rev 2545)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld1_1-tld1_2.xsl 2007-08-28 16:39:52 UTC (rev 2546)
@@ -1,153 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-
-<!--
- - <license>
- - Copyright (c) 2003-2004, Sun Microsystems, Inc.
- - All rights reserved.
- -
- - Redistribution and use in source and binary forms, with or without
- - modification, are permitted provided that the following conditions are met:
- -
- - * Redistributions of source code must retain the above copyright
- - notice, this list of conditions and the following disclaimer.
- - * Redistributions in binary form must reproduce the above copyright
- - notice, this list of conditions and the following disclaimer in the
- - documentation and/or other materials provided with the distribution.
- - * Neither the name of Sun Microsystems, Inc. nor the names of its
- - contributors may be used to endorse or promote products derived from
- - this software without specific prior written permission.
- -
- - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- - </license>
- -->
-
-<!--
-
- Translates a JSP 1.1 TLD into a JSP 1.2 TLD, using the following
- conversion rules:
-
- 1. Change the document type definition for the TLD to:
- <!DOCTYPE taglib
- PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
- "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
- 2. Change the <tlibversion> element to <tlib-version>
- 3. Change the optional <jspversion> element to <jsp-version>. If no
- element exists, supply one that's set to 1.2
- 4. Change the <shortname> element to <short-name>
- 5. Preserve the original optional <uri> tag
- 6. Change the optional <info> tag to <description>
- 7. Preserve each tag/name
- 8. Change each tag/tagclass to tag/tag-class
- 9. Change each optional tag/teiclass to tag/tei-class
- 10. Change each optional tag/bodycontent to tag/body-content
- 11. Change each optional tag/info to tag/description
- 12. Preserve each tag/attribute element and its contents.
-
- Side-effect: Strips the id attributes
-
- Author: Mark Roth
-
--->
-
-<xsl:stylesheet version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <xsl:output method="xml" indent="yes"
- doctype-system="http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd"
- doctype-public="-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"/>
-
- <xsl:template match="/taglib">
- <taglib>
- <xsl:apply-templates select="tlibversion"/>
- <jsp-version>1.2</jsp-version>
- <xsl:apply-templates select="shortname"/>
- <xsl:apply-templates select="uri"/>
- <xsl:apply-templates select="info"/>
- <xsl:apply-templates select="tag"/>
- </taglib>
- </xsl:template>
-
- <!-- Rename to tlib-version -->
- <xsl:template match="tlibversion">
- <tlib-version><xsl:apply-templates/></tlib-version>
- </xsl:template>
-
- <!-- Rename to jsp-version -->
- <xsl:template match="jspversion">
- <jsp-version><xsl:apply-templates/></jsp-version>
- </xsl:template>
-
- <!-- Rename to short-name -->
- <xsl:template match="shortname">
- <short-name><xsl:apply-templates/></short-name>
- </xsl:template>
-
- <!-- Preserve uri -->
- <xsl:template match="uri">
- <uri><xsl:apply-templates/></uri>
- </xsl:template>
-
- <!-- Rename to description -->
- <xsl:template match="info">
- <description><xsl:apply-templates/></description>
- </xsl:template>
-
- <xsl:template match="tag">
- <tag>
- <xsl:apply-templates select="name"/>
- <xsl:apply-templates select="tagclass"/>
- <xsl:apply-templates select="teiclass"/>
- <xsl:apply-templates select="bodycontent"/>
- <xsl:apply-templates select="info"/>
- <xsl:apply-templates select="attribute"/>
- </tag>
- </xsl:template>
-
- <!-- Preserve name -->
- <xsl:template match="name">
- <name><xsl:apply-templates/></name>
- </xsl:template>
-
- <!-- Rename to tag-class -->
- <xsl:template match="tagclass">
- <tag-class><xsl:apply-templates/></tag-class>
- </xsl:template>
-
- <!-- Rename to tei-class -->
- <xsl:template match="teiclass">
- <tei-class><xsl:apply-templates/></tei-class>
- </xsl:template>
-
- <!-- Rename to body-content -->
- <xsl:template match="bodycontent">
- <body-content><xsl:apply-templates/></body-content>
- </xsl:template>
-
- <!-- Rename to description -->
- <xsl:template match="info">
- <description><xsl:apply-templates/></description>
- </xsl:template>
-
- <!-- Preserve attribute -->
- <xsl:template match="attribute">
- <attribute>
- <xsl:apply-templates/>
- </attribute>
- </xsl:template>
-
- <xsl:template match="@*|node()">
- <xsl:copy>
- <xsl:apply-templates select="@*|node()"/>
- </xsl:copy>
- </xsl:template>
-
-</xsl:stylesheet>
Deleted: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld1_2-tld2_0.xsl
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld1_2-tld2_0.xsl 2007-08-28 16:37:06 UTC (rev 2545)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld1_2-tld2_0.xsl 2007-08-28 16:39:52 UTC (rev 2546)
@@ -1,290 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-
-<!--
- - <license>
- - Copyright (c) 2003-2004, Sun Microsystems, Inc.
- - All rights reserved.
- -
- - Redistribution and use in source and binary forms, with or without
- - modification, are permitted provided that the following conditions are met:
- -
- - * Redistributions of source code must retain the above copyright
- - notice, this list of conditions and the following disclaimer.
- - * Redistributions in binary form must reproduce the above copyright
- - notice, this list of conditions and the following disclaimer in the
- - documentation and/or other materials provided with the distribution.
- - * Neither the name of Sun Microsystems, Inc. nor the names of its
- - contributors may be used to endorse or promote products derived from
- - this software without specific prior written permission.
- -
- - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- - </license>
- -->
-
-<!--
-
- Translates a JSP 1.2 TLD into a JSP 2.0 TLD, using the following
- conversion rules:
-
- 1. Change the <taglib> element to read as follows:
- <taglib xmlns="http://java.sun.com/xml/ns/j2ee"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
- http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd">
- 2. Remove all id attributes from all elements.
- 3. Remove <jsp-version> element and add an attribute to <taglib>
- called 'version' with the value "2.0".
- 4. Under <taglib>, if a <description> element exists, move it to
- the top.
- 5. Under <taglib>, if a <display-name> element exists, move it
- to the top, after the <description> element.
- 6. Under <taglib>, if a <small-icon> and/or <large-icon> element
- exists, wrap them in an <icon> element and move it to the
- top, after the <display-name> element.
- 7. For each taglib/validator element, if a <description> element
- exists, move it to the top, under <validator>.
- 8. For each taglib/validator/init-param element, if a
- <description> element exists, move it to the top, under
- <init-param>.
- 9. For each taglib/tag element, if a <description> element
- exists, move it to the top, under <tag>.
- 10. For each taglib/tag element, if a <display-name> element
- exists, move it to the top, after the <description> element,
- under <tag>.
- 11. For each taglib/tag element, if a <small-icon> and/or
- <large-icon> element exists, wrap them in an <icon> element
- and move it to the top, after the <display-name> element,
- under <tag>.
- 12. For each taglib/tag element, if no <body-content> element
- exists, supply a default value of "JSP"
- 13. For each taglib/tag/variable element, if a <description>
- element exists, move it to the top, under <variable>.
- 14. For each taglib/tag/attribute element, if a <description>
- element exists, move it to the top, under <attribute>.
-
- Author: Mark Roth
-
--->
-
-<xsl:stylesheet version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <xsl:output method="xml" indent="yes"/>
-
- <xsl:template match="/taglib">
- <xsl:element name="taglib" namespace="http://java.sun.com/xml/ns/j2ee">
- <xsl:attribute name="xsi:schemaLocation" namespace="http://www.w3.org/2001/XMLSchema-instance">http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd</xsl:attribute>
- <xsl:attribute name="version">2.0</xsl:attribute>
- <xsl:apply-templates select="description"/>
- <xsl:apply-templates select="display-name"/>
- <xsl:if test="small-icon|large-icon">
- <icon xmlns="http://java.sun.com/xml/ns/j2ee">
- <xsl:apply-templates select="small-icon"/>
- <xsl:apply-templates select="large-icon"/>
- </icon>
- </xsl:if>
- <xsl:apply-templates select="tlib-version"/>
- <xsl:apply-templates select="short-name"/>
- <xsl:apply-templates select="uri"/>
- <xsl:apply-templates select="validator"/>
- <xsl:apply-templates select="listener"/>
- <xsl:apply-templates select="tag"/>
- </xsl:element>
- </xsl:template>
-
- <!-- Strip the id attribute: -->
- <xsl:template match="description">
- <description xmlns="http://java.sun.com/xml/ns/j2ee">
- <xsl:apply-templates/>
- </description>
- </xsl:template>
-
- <!-- Strip the id attribute: -->
- <xsl:template match="display-name">
- <display-name xmlns="http://java.sun.com/xml/ns/j2ee">
- <xsl:apply-templates/>
- </display-name>
- </xsl:template>
-
- <!-- Strip the id attribute: -->
- <xsl:template match="tlib-version">
- <tlib-version xmlns="http://java.sun.com/xml/ns/j2ee">
- <xsl:apply-templates/>
- </tlib-version>
- </xsl:template>
-
- <!-- Strip the id attribute: -->
- <xsl:template match="short-name">
- <short-name xmlns="http://java.sun.com/xml/ns/j2ee">
- <xsl:apply-templates/>
- </short-name>
- </xsl:template>
-
- <!-- Strip the id attribute: -->
- <xsl:template match="uri">
- <uri xmlns="http://java.sun.com/xml/ns/j2ee">
- <xsl:apply-templates/>
- </uri>
- </xsl:template>
-
- <xsl:template match="validator">
- <validator xmlns="http://java.sun.com/xml/ns/j2ee">
- <xsl:apply-templates select="description"/>
- <xsl:apply-templates select="validator-class"/>
- <xsl:apply-templates select="init-param"/>
- </validator>
- </xsl:template>
-
- <xsl:template match="init-param">
- <init-param xmlns="http://java.sun.com/xml/ns/j2ee">
- <xsl:apply-templates select="description"/>
- <xsl:apply-templates select="param-name"/>
- <xsl:apply-templates select="param-value"/>
- </init-param>
- </xsl:template>
-
- <!-- Strip the id attribute: -->
- <xsl:template match="param-name">
- <param-name xmlns="http://java.sun.com/xml/ns/j2ee">
- <xsl:apply-templates/>
- </param-name>
- </xsl:template>
-
- <!-- Strip the id attribute: -->
- <xsl:template match="param-value">
- <param-value xmlns="http://java.sun.com/xml/ns/j2ee">
- <xsl:apply-templates/>
- </param-value>
- </xsl:template>
-
- <!-- Strip the id attribute: -->
- <xsl:template match="listener">
- <listener xmlns="http://java.sun.com/xml/ns/j2ee">
- <xsl:apply-templates select="listener-class"/>
- </listener>
- </xsl:template>
-
- <!-- Strip the id attribute: -->
- <xsl:template match="listener-class">
- <listener-class xmlns="http://java.sun.com/xml/ns/j2ee">
- <xsl:apply-templates/>
- </listener-class>
- </xsl:template>
-
- <xsl:template match="tag">
- <tag xmlns="http://java.sun.com/xml/ns/j2ee">
- <xsl:apply-templates select="description"/>
- <xsl:apply-templates select="display-name"/>
- <xsl:if test="small-icon|large-icon">
- <icon xmlns="http://java.sun.com/xml/ns/j2ee">
- <xsl:apply-templates select="small-icon"/>
- <xsl:apply-templates select="large-icon"/>
- </icon>
- </xsl:if>
- <xsl:apply-templates select="name"/>
- <xsl:apply-templates select="tag-class"/>
- <xsl:apply-templates select="tei-class"/>
- <xsl:choose>
- <xsl:when test="body-content">
- <xsl:apply-templates select="body-content"/>
- </xsl:when>
- <xsl:otherwise>
- <!--
- - Explicitly Insert the default body-content since this is
- - now a required element
- -->
- <body-content xmlns="http://java.sun.com/xml/ns/j2ee">JSP</body-content>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:apply-templates select="variable"/>
- <xsl:apply-templates select="attribute"/>
- <xsl:apply-templates select="example"/>
- </tag>
- </xsl:template>
-
- <!-- Strip the id attribute: -->
- <xsl:template match="name">
- <name xmlns="http://java.sun.com/xml/ns/j2ee">
- <xsl:apply-templates/>
- </name>
- </xsl:template>
-
- <!-- Strip the id attribute: -->
- <xsl:template match="tag-class">
- <tag-class xmlns="http://java.sun.com/xml/ns/j2ee">
- <xsl:apply-templates/>
- </tag-class>
- </xsl:template>
-
- <!-- Strip the id attribute: -->
- <xsl:template match="tei-class">
- <tei-class xmlns="http://java.sun.com/xml/ns/j2ee">
- <xsl:apply-templates/>
- </tei-class>
- </xsl:template>
-
- <!-- Strip the id attribute: -->
- <xsl:template match="body-content">
- <body-content xmlns="http://java.sun.com/xml/ns/j2ee">
- <xsl:apply-templates/>
- </body-content>
- </xsl:template>
-
- <xsl:template match="variable">
- <variable xmlns="http://java.sun.com/xml/ns/j2ee">
- <xsl:apply-templates select="description"/>
- <xsl:apply-templates select="name-given"/>
- <xsl:apply-templates select="name-from-attribute"/>
- <xsl:apply-templates select="variable-class"/>
- <xsl:apply-templates select="declare"/>
- <xsl:apply-templates select="scope"/>
- </variable>
- </xsl:template>
-
- <xsl:template match="attribute">
- <attribute xmlns="http://java.sun.com/xml/ns/j2ee">
- <xsl:apply-templates select="description"/>
- <xsl:apply-templates select="name"/>
- <xsl:apply-templates select="required"/>
- <xsl:apply-templates select="rtexprvalue"/>
- <xsl:apply-templates select="type"/>
- </attribute>
- </xsl:template>
-
- <!-- Strip the id attribute: -->
- <xsl:template match="required">
- <required xmlns="http://java.sun.com/xml/ns/j2ee">
- <xsl:apply-templates/>
- </required>
- </xsl:template>
-
- <!-- Strip the id attribute: -->
- <xsl:template match="rtexprvalue">
- <rtexprvalue xmlns="http://java.sun.com/xml/ns/j2ee">
- <xsl:apply-templates/>
- </rtexprvalue>
- </xsl:template>
-
- <!-- Strip the id attribute: -->
- <xsl:template match="example">
- <example xmlns="http://java.sun.com/xml/ns/j2ee">
- <xsl:apply-templates/>
- </example>
- </xsl:template>
-
- <xsl:template match="@*|node()">
- <xsl:copy>
- <xsl:apply-templates select="@*|node()"/>
- </xsl:copy>
- </xsl:template>
-
-</xsl:stylesheet>
Deleted: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld2_0-tld2_1.xsl
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld2_0-tld2_1.xsl 2007-08-28 16:37:06 UTC (rev 2545)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld2_0-tld2_1.xsl 2007-08-28 16:39:52 UTC (rev 2546)
@@ -1,70 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-
-
-<!--
- - <license>
- - Copyright (c) 2003-2004, Sun Microsystems, Inc.
- - All rights reserved.
- -
- - Redistribution and use in source and binary forms, with or without
- - modification, are permitted provided that the following conditions are met:
- -
- - * Redistributions of source code must retain the above copyright
- - notice, this list of conditions and the following disclaimer.
- - * Redistributions in binary form must reproduce the above copyright
- - notice, this list of conditions and the following disclaimer in the
- - documentation and/or other materials provided with the distribution.
- - * Neither the name of Sun Microsystems, Inc. nor the names of its
- - contributors may be used to endorse or promote products derived from
- - this software without specific prior written permission.
- -
- - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- - </license>
- -->
-
-<!--
-
- Identity transformation (changing from the J2EE namespace
- to the Java EE namespace), added for flexibility.
-
- 1. Change the <taglib> element to read as follows:
- <taglib xmlns="http://java.sun.com/xml/ns/j2ee"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
- http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd">
-
- Author: Mark Roth
-
--->
-
-<xsl:stylesheet version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:j2ee="http://java.sun.com/xml/ns/j2ee">
- <xsl:output method="xml" indent="yes"/>
-
- <xsl:template match="/j2ee:taglib">
- <xsl:element name="taglib" namespace="http://java.sun.com/xml/ns/javaee">
- <xsl:attribute name="xsi:schemaLocation" namespace="http://www.w3.org/2001/XMLSchema-instance">http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd</xsl:attribute>
- <xsl:attribute name="version">2.1</xsl:attribute>
- <xsl:apply-templates select="*"/>
- </xsl:element>
- </xsl:template>
-
- <xsl:template match="j2ee:*">
- <xsl:element name="{local-name()}" namespace="http://java.sun.com/xml/ns/javaee">
- <xsl:copy-of select="@*"/>
- <xsl:apply-templates/>
- </xsl:element>
- </xsl:template>
-
-</xsl:stylesheet>
Deleted: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld2_1-tld2_1.xsl
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld2_1-tld2_1.xsl 2007-08-28 16:37:06 UTC (rev 2545)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld2_1-tld2_1.xsl 2007-08-28 16:39:52 UTC (rev 2546)
@@ -1,79 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-
-
-<!--
- - <license>
- - Copyright (c) 2003-2004, Sun Microsystems, Inc.
- - All rights reserved.
- -
- - Redistribution and use in source and binary forms, with or without
- - modification, are permitted provided that the following conditions are met:
- -
- - * Redistributions of source code must retain the above copyright
- - notice, this list of conditions and the following disclaimer.
- - * Redistributions in binary form must reproduce the above copyright
- - notice, this list of conditions and the following disclaimer in the
- - documentation and/or other materials provided with the distribution.
- - * Neither the name of Sun Microsystems, Inc. nor the names of its
- - contributors may be used to endorse or promote products derived from
- - this software without specific prior written permission.
- -
- - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- - </license>
- -->
-
-<!--
-
- Identity transformation, added for flexibility.
-
- 1. Remove any tag-extension, function-extension and taglib-extension
- elements.
-
- Author: Mark Roth
-
--->
-
-<xsl:stylesheet version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:javaee="http://java.sun.com/xml/ns/javaee">
- <xsl:output method="xml" indent="yes"/>
-
- <xsl:template match="/javaee:taglib">
- <xsl:element name="taglib" namespace="http://java.sun.com/xml/ns/javaee">
- <xsl:attribute name="xsi:schemaLocation"
- namespace="http://www.w3.org/2001/XMLSchema-instance">http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd</xsl:attribute>
- <xsl:attribute name="version">2.1</xsl:attribute>
- <xsl:apply-templates select="*"/>
- </xsl:element>
- </xsl:template>
-
- <xsl:template match="javaee:tag-extension">
- </xsl:template>
-
- <xsl:template match="javaee:function-extension">
- </xsl:template>
-
- <xsl:template match="javaee:taglib-extension">
- </xsl:template>
-
- <xsl:template match="@*|node()">
- <xsl:copy>
- <xsl:apply-templates select="@*|node()"/>
- </xsl:copy>
- </xsl:template>
-
- <xsl:template match="text()">
- <xsl:value-of select="normalize-space(.)" />
- </xsl:template>
-
-</xsl:stylesheet>
Copied: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/stylesheet.css (from rev 2545, trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/stylesheet.css)
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/stylesheet.css (rev 0)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/stylesheet.css 2007-08-28 16:39:52 UTC (rev 2546)
@@ -0,0 +1,60 @@
+/* Javadoc style sheet */
+
+/*
+ * <license>
+ * Copyright (c) 2003-2004, Sun Microsystems, Inc.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *
+ * * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * * Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * * Neither the name of Sun Microsystems, Inc. nor the names of its
+ * contributors may be used to endorse or promote products derived from
+ * this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * </license>
+ */
+
+/* Define colors, fonts and other style attributes here to override the defaults */
+
+/* Page background color */
+body { background-color: #FFFFFF }
+
+/* Table colors */
+.TableHeadingColor { background: #CCCCFF } /* Dark mauve */
+.TableSubHeadingColor { background: #EEEEFF } /* Light mauve */
+.TableRowColor { background: #FFFFFF } /* White */
+
+/* Font used in left-hand frame lists */
+.FrameTitleFont { font-size: 10pts; font-family: Helvetica, Arial, san-serif }
+.FrameHeadingFont { font-size: 10pts; font-family: Helvetica, Arial, san-serif }
+.FrameItemFont { font-size: 10pts; font-family: Helvetica, Arial, san-serif }
+
+/* Example of smaller, sans-serif font in frames */
+/* .FrameItemFont { font-size: 10pt; font-family: Helvetica, Arial, sans-serif } */
+
+/* Navigation bar fonts and colors */
+.NavBarCell1 { background-color:#EEEEFF;}/* Light mauve */
+.NavBarCell1Rev { background-color:#00008B;}/* Dark Blue */
+.NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;}
+.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;}
+
+.NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;}
+.NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;}
+
Copied: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tag.html.xsl (from rev 2545, trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tag.html.xsl)
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tag.html.xsl (rev 0)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tag.html.xsl 2007-08-28 16:39:52 UTC (rev 2546)
@@ -0,0 +1,317 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+ - <license>
+ - Copyright (c) 2003-2004, Sun Microsystems, Inc.
+ - All rights reserved.
+ -
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions are met:
+ -
+ - * Redistributions of source code must retain the above copyright
+ - notice, this list of conditions and the following disclaimer.
+ - * Redistributions in binary form must reproduce the above copyright
+ - notice, this list of conditions and the following disclaimer in the
+ - documentation and/or other materials provided with the distribution.
+ - * Neither the name of Sun Microsystems, Inc. nor the names of its
+ - contributors may be used to endorse or promote products derived from
+ - this software without specific prior written permission.
+ -
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ - </license>
+ -->
+
+<!--
+ Document : tag.html.xsl
+ Created on : December 18, 2002, 5:22 PM
+ Author : mroth
+ Description:
+ Creates the tag detail page (right frame), listing the known
+ information for a given tag in a tag library.
+-->
+
+<xsl:stylesheet version="1.0"
+ xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:fo="http://www.w3.org/1999/XSL/Format">
+
+ <xsl:output method="xml" indent="yes" omit-xml-declaration="yes"/>
+
+ <xsl:param name="tlddoc-shortName">default</xsl:param>
+ <xsl:param name="tlddoc-tagName">default</xsl:param>
+
+ <!-- template rule matching source root element -->
+ <xsl:template match="/">
+ <xsl:apply-templates select="javaee:tlds/javaee:taglib"/>
+ </xsl:template>
+
+ <xsl:template match="javaee:taglib">
+ <xsl:if test="javaee:short-name=$tlddoc-shortName">
+ <xsl:apply-templates select="javaee:tag|javaee:tag-file"/>
+ </xsl:if>
+ </xsl:template>
+
+ <xsl:template match="javaee:tag|javaee:tag-file">
+ <xsl:if test="javaee:name=$tlddoc-tagName">
+ <xsl:variable name="tldname">
+ <xsl:choose>
+ <xsl:when test="../javaee:display-name!=''">
+ <xsl:value-of select="../javaee:display-name"/>
+ </xsl:when>
+ <xsl:when test="../javaee:short-name!=''">
+ <xsl:value-of select="../javaee:short-name"/>
+ </xsl:when>
+ <xsl:otherwise>
+ Unnamed TLD
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:variable name="title">
+ <xsl:value-of select="javaee:name"/>
+ (<xsl:value-of select="/javaee:tlds/javaee:config/javaee:window-title"/>)
+ </xsl:variable>
+
+ <!-- Tag Information -->
+ <table class="doctable" cellpadding="3" cellspacing="0" width="100%">
+ <tr class="TableHeadingColor">
+ <td colspan="2">
+ <font size="+2">
+ <b>Tag Information</b>
+ </font>
+ </td>
+ </tr>
+ <tr>
+ <td>Tag Class</td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:tag-class!=''">
+ <xsl:value-of select="javaee:tag-class"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>None</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ <tr>
+ <td>TagExtraInfo Class</td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:tei-class!=''">
+ <xsl:value-of select="javaee:tei-class"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>None</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ <tr>
+ <td>Body Content</td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:body-content!=''">
+ <xsl:value-of select="javaee:body-content"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>None</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ <tr>
+ <td>Display Name</td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:display-name!=''">
+ <xsl:value-of select="javaee:display-name"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>None</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ </table>
+
+ <!-- Attribute Information -->
+ <table class="doctable" cellpadding="3" cellspacing="0" width="100%">
+ <tr class="TableHeadingColor">
+ <td colspan="5">
+ <font size="+2">
+ <b>Attributes</b>
+ </font>
+ </td>
+ </tr>
+ <xsl:choose>
+ <xsl:when test="count(javaee:attribute)>0">
+ <tr>
+ <td><b>Name</b></td>
+ <td><b>Required</b></td>
+ <td><b>Request-time</b></td>
+ <td><b>Type</b></td>
+ <td><b>Description</b></td>
+ </tr>
+ <xsl:apply-templates select="javaee:attribute"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <td colspan="5"><i>No Attributes Defined.</i></td>
+ </xsl:otherwise>
+ </xsl:choose>
+ </table>
+
+ <!-- Variable Information -->
+ <table border="1" cellpadding="3" cellspacing="0" width="100%">
+ <tr bgcolor="#CCCCFF" class="TableHeadingColor">
+ <td colspan="5">
+ <font size="+2">
+ <b>Variables</b>
+ </font>
+ </td>
+ </tr>
+ <xsl:choose>
+ <xsl:when test="count(javaee:variable)>0">
+ <tr>
+ <td><b>Name</b></td>
+ <td><b>Type</b></td>
+ <td><b>Declare</b></td>
+ <td><b>Scope</b></td>
+ <td><b>Description</b></td>
+ </tr>
+ <xsl:apply-templates select="javaee:variable"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <td colspan="2"><i>No Variables Defined.</i></td>
+ </xsl:otherwise>
+ </xsl:choose>
+ </table>
+ </xsl:if>
+ </xsl:template>
+
+ <xsl:template match="javaee:attribute">
+ <tr valign="top">
+ <td><xsl:apply-templates select="javaee:name"/></td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:required!=''">
+ <xsl:value-of select="javaee:required"/>
+ </xsl:when>
+ <xsl:otherwise>false</xsl:otherwise>
+ </xsl:choose>
+ </td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:rtexprvalue!=''">
+ <xsl:value-of select="javaee:rtexprvalue"/>
+ </xsl:when>
+ <xsl:otherwise>false</xsl:otherwise>
+ </xsl:choose>
+ </td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:deferred-value">
+ <xsl:choose>
+ <xsl:when test="javaee:deferred-value/javaee:type">
+ <code>javax.el.ValueExpression</code>
+ <br/>(<i>must evaluate to </i><code><xsl:value-of
+ select="javaee:deferred-value/javaee:type"/></code>)
+ </xsl:when>
+ <xsl:otherwise>
+ <code>javax.el.ValueExpression</code>
+ <br/>(<i>must evaluate to </i><code>java.lang.Object</code>)
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:when test="javaee:deferred-method">
+ <xsl:choose>
+ <xsl:when test="javaee:deferred-method/javaee:method-signature">
+ <code>javax.el.MethodExpression</code>
+ <br/>(<i>signature must match </i><code><xsl:value-of
+ select="javaee:deferred-method/javaee:method-signature"/></code>)
+ </xsl:when>
+ <xsl:otherwise>
+ <code>javax.el.MethodExpression</code>
+ <br/>(<i>signature must match </i><code>void methodname()</code>)
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:when test="javaee:type!=''">
+ <code><xsl:value-of select="javaee:type"/></code>
+ </xsl:when>
+ <xsl:otherwise>
+ <code>java.lang.String</code>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:description!=''">
+ <xsl:value-of select="javaee:description" disable-output-escaping="yes"/>
+ </xsl:when>
+ <xsl:otherwise><i>No Description</i></xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ </xsl:template>
+
+ <xsl:template match="javaee:variable">
+ <tr>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:name-given!=''">
+ <xsl:value-of select="javaee:name-given"/>
+ </xsl:when>
+ <xsl:when test="javaee:name-from-attribute!=''">
+ <i>From attribute '<xsl:value-of select="javaee:name-from-attribute"/>'</i>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>Unknown</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:variable-class!=''">
+ <code><xsl:value-of select="javaee:variable-class"/></code>
+ </xsl:when>
+ <xsl:otherwise><code>java.lang.String</code></xsl:otherwise>
+ </xsl:choose>
+ </td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:declare!=''">
+ <xsl:value-of select="javaee:declare"/>
+ </xsl:when>
+ <xsl:otherwise>true</xsl:otherwise>
+ </xsl:choose>
+ </td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:scope!=''">
+ <xsl:value-of select="javaee:scope"/>
+ </xsl:when>
+ <xsl:otherwise>NESTED</xsl:otherwise>
+ </xsl:choose>
+ </td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:description!=''">
+ <xsl:value-of select="javaee:description" disable-output-escaping="yes"/>
+ </xsl:when>
+ <xsl:otherwise><i>No Description</i></xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ </xsl:template>
+
+</xsl:stylesheet>
Copied: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tld-frame.html.xsl (from rev 2545, trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld-frame.html.xsl)
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tld-frame.html.xsl (rev 0)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tld-frame.html.xsl 2007-08-28 16:39:52 UTC (rev 2546)
@@ -0,0 +1,188 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+ - <license>
+ - Copyright (c) 2003-2004, Sun Microsystems, Inc.
+ - All rights reserved.
+ -
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions are met:
+ -
+ - * Redistributions of source code must retain the above copyright
+ - notice, this list of conditions and the following disclaimer.
+ - * Redistributions in binary form must reproduce the above copyright
+ - notice, this list of conditions and the following disclaimer in the
+ - documentation and/or other materials provided with the distribution.
+ - * Neither the name of Sun Microsystems, Inc. nor the names of its
+ - contributors may be used to endorse or promote products derived from
+ - this software without specific prior written permission.
+ -
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ - </license>
+ -->
+
+<!--
+ Document : tld-frame.html.xsl
+ Created on : December 18, 2002, 11:40 AM
+ Author : mroth
+ Description:
+ Creates the TLD frame (lower-left hand corner), listing the tags
+ and functions that are in this particular tag library.
+-->
+
+<xsl:stylesheet version="1.0"
+ xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:fo="http://www.w3.org/1999/XSL/Format">
+
+ <xsl:output method="html" indent="yes"/>
+
+ <xsl:param name="tlddoc-shortName">default</xsl:param>
+
+ <!-- template rule matching source root element -->
+ <xsl:template match="/">
+ <xsl:apply-templates select="javaee:tlds/javaee:taglib"/>
+ </xsl:template>
+
+ <xsl:template match="javaee:taglib">
+ <xsl:if test="javaee:short-name=$tlddoc-shortName">
+ <xsl:variable name="tldname">
+ <xsl:choose>
+ <xsl:when test="javaee:display-name!=''">
+ <xsl:value-of select="javaee:display-name"/>
+ </xsl:when>
+ <xsl:when test="javaee:short-name!=''">
+ <xsl:value-of select="javaee:short-name"/>
+ </xsl:when>
+ <xsl:otherwise>
+ Unnamed TLD
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:variable name="tldfull">
+ <xsl:value-of select="$tldname"/>
+ <xsl:choose>
+ <xsl:when test="javaee:description!=''">
+ (<xsl:value-of select="javaee:description" disable-output-escaping="yes"/>)
+ </xsl:when>
+ <xsl:otherwise>
+ No Description
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <html>
+ <head>
+ <title>
+ <xsl:value-of select="$tldfull"/>
+ </title>
+ <meta name="keywords" content="$tldfull"/>
+ <link rel="stylesheet" type="text/css" href="../stylesheet.css"
+ title="Style"/>
+ <script>
+ function asd()
+ {
+ parent.document.title="<xsl:value-of select="normalize-space($tldfull)"/>";
+ }
+ </script>
+ </head>
+ <body bgcolor="white" onload="asd();">
+ <font size="+1" class="FrameTitleFont">
+ <a href="tld-summary.html" target="tagFrame">
+ <xsl:value-of select="$tldname"/>
+ </a>
+ </font>
+ <table border="0" width="100%">
+ <xsl:if test="(count(javaee:tag)+count(javaee:tag-file))>0">
+ <tr>
+ <td nowrap="true">
+ <font size="+1" class="FrameHeadingFont">
+ Tags
+ </font> 
+ <font class="FrameItemFont">
+ <xsl:apply-templates select="javaee:tag|javaee:tag-file"/>
+ </font>
+ </td>
+ </tr>
+ </xsl:if>
+ <xsl:if test="count(javaee:function)>0">
+ <tr>
+ <td nowrap="true">
+ <font size="+1" class="FrameHeadingFont">
+ Functions
+ </font> 
+ <font class="FrameItemFont">
+ <xsl:apply-templates select="javaee:function"/>
+ </font>
+ </td>
+ </tr>
+ </xsl:if>
+ <xsl:if test="count(javaee:validator)>0">
+ <tr>
+ <td nowrap="true">
+ <font size="+1" class="FrameHeadingFont">
+ Validator
+ </font> 
+ <font class="FrameItemFont">
+ <xsl:apply-templates select="javaee:validator"/>
+ </font>
+ </td>
+ </tr>
+ </xsl:if>
+ <xsl:if test="count(javaee:listener)>0">
+ <tr>
+ <td nowrap="true">
+ <font size="+1" class="FrameHeadingFont">
+ Listeners
+ </font> 
+ <font class="FrameItemFont">
+ <xsl:apply-templates select="javaee:listener"/>
+ </font>
+ </td>
+ </tr>
+ </xsl:if>
+ </table>
+ <!-- <table ... -->
+ </body>
+ </html>
+ </xsl:if>
+ </xsl:template>
+
+ <xsl:template match="javaee:tag|javaee:tag-file">
+ <br/>
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="javaee:name"/>.html</xsl:attribute>
+ <xsl:attribute name="target">tagFrame</xsl:attribute>
+ <xsl:value-of select="../javaee:short-name"/>:<xsl:value-of select="javaee:name"/>
+ </xsl:element>
+ </xsl:template>
+
+ <xsl:template match="javaee:function">
+ <br/>
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="javaee:name"/>.fn.html</xsl:attribute>
+ <xsl:attribute name="target">tagFrame</xsl:attribute>
+ <i><xsl:value-of select="../javaee:short-name"/>:<xsl:value-of select="javaee:name"/>()</i>
+ </xsl:element>
+ </xsl:template>
+
+ <xsl:template match="javaee:validator">
+ <br/>
+ <xsl:value-of select="javaee:validator-class"/>
+ </xsl:template>
+
+ <xsl:template match="javaee:listener">
+ <br/>
+ <xsl:value-of select="javaee:listener-class"/>
+ </xsl:template>
+
+</xsl:stylesheet>
Copied: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tld-summary.html.xsl (from rev 2545, trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld-summary.html.xsl)
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tld-summary.html.xsl (rev 0)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tld-summary.html.xsl 2007-08-28 16:39:52 UTC (rev 2546)
@@ -0,0 +1,445 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+ - <license>
+ - Copyright (c) 2003-2004, Sun Microsystems, Inc.
+ - All rights reserved.
+ -
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions are met:
+ -
+ - * Redistributions of source code must retain the above copyright
+ - notice, this list of conditions and the following disclaimer.
+ - * Redistributions in binary form must reproduce the above copyright
+ - notice, this list of conditions and the following disclaimer in the
+ - documentation and/or other materials provided with the distribution.
+ - * Neither the name of Sun Microsystems, Inc. nor the names of its
+ - contributors may be used to endorse or promote products derived from
+ - this software without specific prior written permission.
+ -
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ - </license>
+ -->
+
+<!--
+ Document : tld-summary.html.xsl
+ Created on : December 18, 2002, 3:46 PM
+ Author : mroth
+ Description:
+ Creates the TLD summary (right frame), listing the tags
+ and functions that are in this particular tag library and
+ their descriptions.
+-->
+
+<xsl:stylesheet version="1.0"
+ xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:fo="http://www.w3.org/1999/XSL/Format">
+
+ <xsl:output method="html" indent="yes"/>
+
+ <xsl:param name="tlddoc-shortName">default</xsl:param>
+
+ <!-- template rule matching source root element -->
+ <xsl:template match="/">
+ <xsl:apply-templates select="javaee:tlds/javaee:taglib"/>
+ </xsl:template>
+
+ <xsl:template match="javaee:taglib">
+ <xsl:if test="javaee:short-name=$tlddoc-shortName">
+ <xsl:variable name="tldname">
+ <xsl:choose>
+ <xsl:when test="javaee:display-name!=''">
+ <xsl:value-of select="javaee:display-name"/>
+ </xsl:when>
+ <xsl:when test="javaee:short-name!=''">
+ <xsl:value-of select="javaee:short-name"/>
+ </xsl:when>
+ <xsl:otherwise>
+ Unnamed TLD
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:variable name="title">
+ <xsl:value-of select="$tldname"/>
+ (<xsl:value-of select="/javaee:tlds/javaee:config/javaee:window-title"/>)
+ </xsl:variable>
+ <html>
+ <head>
+ <title><xsl:value-of select="$title"/></title>
+ <link rel="stylesheet" type="text/css" href="../stylesheet.css"
+ title="styie"/>
+ </head>
+ <script>
+ function asd()
+ {
+ parent.document.title="<xsl:value-of select="normalize-space($title)"/>";
+ }
+ </script>
+ <body bgcolor="white" onload="asd();">
+ <!-- =========== START OF NAVBAR =========== -->
+ <a name="navbar_top"><!-- --></a>
+ <table border="0" width="100%" cellpadding="1" cellspacing="0">
+ <tr>
+ <td COLSPAN="3" BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+ <a NAME="navbar_top_firstrow"><!-- --></a>
+ <table BORDER="0" CELLPADDING="0" CELLSPACING="3">
+ <tr ALIGN="center" VALIGN="top">
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <a href="../overview-summary.html"><font CLASS="NavBarFont1"><b>Overview</b></font></a> </td>
+ <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev">  <font CLASS="NavBarFont1Rev"> Library </font> </td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <font CLASS="NavBarFont1"> Tag </font></td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <a HREF="../help-doc.html"><font CLASS="NavBarFont1"><b>Help</b></font></a> </td>
+ </tr>
+ </table>
+ </td>
+ <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em>
+ </em>
+ </td>
+ </tr>
+ <tr>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+ <!-- PREV TAGLIB -->
+ <!-- NEXT TAGLIB -->
+ </font></td>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+  <a HREF="../index.html" TARGET="_top"><b>FRAMES</b></a> 
+  <a HREF="tld-summary.html" TARGET="_top"><b>NO FRAMES</b></a> 
+ <script>
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="alltags-noframe.html" TARGET=""><B>All Tags</B></A>');
+ }
+ //-->
+ </script>
+ <noscript>
+ <a HREF="../alltags-noframe.html" TARGET=""><b>All Tags</b></a>
+ </noscript>
+ </font></td>
+ </tr>
+ </table>
+ <!-- =========== END OF NAVBAR =========== -->
+
+ <hr/>
+ <h2><xsl:value-of select="$tldname"/></h2>
+ <hr/>
+ <xsl:if test="(javaee:uri!='') and (javaee:short-name!='')">
+ <b>Standard Syntax:</b><br/>
+ <code>
+     
+ <xsl:choose>
+ <xsl:when test='starts-with(javaee:uri,"/WEB-INF/tags")'>
+ <%@ taglib prefix="<xsl:value-of select="javaee:short-name"/>" tagdir="<xsl:value-of select="javaee:uri"/>" %><br/>
+ </xsl:when>
+ <xsl:otherwise>
+ <%@ taglib prefix="<xsl:value-of select="javaee:short-name"/>" uri="<xsl:value-of select="javaee:uri"/>" %><br/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </code>
+ <br/>
+ <b>XML Syntax:</b><br/>
+ <code>
+     
+ <xsl:choose>
+ <xsl:when test='starts-with(javaee:uri,"/WEB-INF/tags")'>
+ <anyxmlelement xmlns:<xsl:value-of select="javaee:short-name"/>="urn:jsptagdir:<xsl:value-of select="javaee:uri"/>" /><br/>
+ </xsl:when>
+ <xsl:when test='starts-with(javaee:uri,"/")'>
+ <anyxmlelement xmlns:<xsl:value-of select="javaee:short-name"/>="urn:jsptld:<xsl:value-of select="javaee:uri"/>" /><br/>
+ </xsl:when>
+ <xsl:otherwise>
+ <anyxmlelement xmlns:<xsl:value-of select="javaee:short-name"/>="<xsl:value-of select="javaee:uri"/>" /><br/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </code>
+ <hr/>
+ </xsl:if>
+ <xsl:choose>
+ <xsl:when test="javaee:description!=''">
+ <pre>
+ <xsl:value-of select="javaee:description" disable-output-escaping="yes"/>
+ </pre>
+ </xsl:when>
+ <xsl:otherwise>
+ No Description
+ </xsl:otherwise>
+ </xsl:choose>
+ <p/>
+ <table border="1" cellpadding="3" cellspacing="0" width="100%">
+ <tr bgcolor="#CCCCFF" class="TableHeadingColor">
+ <td colspan="2">
+ <font size="+2"><b>Tag Library Information</b></font>
+ </td>
+ </tr>
+ <tr>
+ <td>Display Name</td>
+ <xsl:choose>
+ <xsl:when test="javaee:display-name!=''">
+ <td><xsl:value-of select="javaee:display-name"/></td>
+ </xsl:when>
+ <xsl:otherwise>
+ <td><i>None</i></td>
+ </xsl:otherwise>
+ </xsl:choose>
+ </tr>
+ <tr>
+ <td>Version</td>
+ <xsl:choose>
+ <xsl:when test="javaee:tlib-version!=''">
+ <td><xsl:value-of select="javaee:tlib-version"/></td>
+ </xsl:when>
+ <xsl:otherwise>
+ <td><i>None</i></td>
+ </xsl:otherwise>
+ </xsl:choose>
+ </tr>
+ <tr>
+ <td>Short Name</td>
+ <xsl:choose>
+ <xsl:when test="javaee:short-name!=''">
+ <td><xsl:value-of select="javaee:short-name"/></td>
+ </xsl:when>
+ <xsl:otherwise>
+ <td><i>None</i></td>
+ </xsl:otherwise>
+ </xsl:choose>
+ </tr>
+ <tr>
+ <td>URI</td>
+ <xsl:choose>
+ <xsl:when test="javaee:uri!=''">
+ <td><xsl:value-of select="javaee:uri"/></td>
+ </xsl:when>
+ <xsl:otherwise>
+ <td><i>None</i></td>
+ </xsl:otherwise>
+ </xsl:choose>
+ </tr>
+ </table>
+  
+ <p/>
+ <!-- tags and tag files -->
+ <xsl:if test="(count(javaee:tag)+count(javaee:tag-file)) > 0">
+ <table border="1" cellpadding="3" cellspacing="0" width="100%">
+ <tr bgcolor="#CCCCFF" class="TableHeadingColor">
+ <td colspan="2">
+ <font size="+2"><b>Tag Summary</b></font>
+ </td>
+ </tr>
+ <xsl:apply-templates select="javaee:tag|javaee:tag-file"/>
+ </table>
+  
+ <p/>
+ </xsl:if>
+ <!-- functions -->
+ <xsl:if test="count(javaee:function) > 0">
+ <table border="1" cellpadding="3" cellspacing="0" width="100%">
+ <tr bgcolor="#CCCCFF" class="TableHeadingColor">
+ <td colspan="3">
+ <font size="+2"><b>Function Summary</b></font>
+ </td>
+ </tr>
+ <xsl:apply-templates select="javaee:function"/>
+ </table>
+  
+ <p/>
+ </xsl:if>
+ <!-- validators -->
+ <xsl:if test="count(javaee:validator) > 0">
+ <table border="1" cellpadding="3" cellspacing="0" width="100%">
+ <tr bgcolor="#CCCCFF" class="TableHeadingColor">
+ <td colspan="2">
+ <font size="+2"><b>Tag Library Validator</b></font>
+ </td>
+ </tr>
+ <xsl:apply-templates select="javaee:validator"/>
+ </table>
+  
+ <p/>
+ </xsl:if>
+ <!-- listeners -->
+ <xsl:if test="count(javaee:listener) > 0">
+ <table border="1" cellpadding="3" cellspacing="0" width="100%">
+ <tr bgcolor="#CCCCFF" class="TableHeadingColor">
+ <td>
+ <font size="+2"><b>Listeners</b></font>
+ </td>
+ </tr>
+ <xsl:apply-templates select="javaee:listener"/>
+ </table>
+  
+ <p/>
+ </xsl:if>
+ <!-- taglib-extensions -->
+
+ <!-- =========== START OF NAVBAR =========== -->
+ <a name="navbar_bottom"><!-- --></a>
+ <table border="0" width="100%" cellpadding="1" cellspacing="0">
+ <tr>
+ <td COLSPAN="3" BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+ <a NAME="navbar_bottom_firstrow"><!-- --></a>
+ <table BORDER="0" CELLPADDING="0" CELLSPACING="3">
+ <tr ALIGN="center" VALIGN="top">
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <a href="../overview-summary.html"><font CLASS="NavBarFont1"><b>Overview</b></font></a> </td>
+ <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev">  <font CLASS="NavBarFont1Rev"> Library </font> </td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <font CLASS="NavBarFont1"> Tag </font></td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <a HREF="../help-doc.html"><font CLASS="NavBarFont1"><b>Help</b></font></a> </td>
+ </tr>
+ </table>
+ </td>
+ <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em>
+ </em>
+ </td>
+ </tr>
+ <tr>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+ <!-- PREV TAGLIB -->
+ <!-- NEXT TAGLIB -->
+ </font></td>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+  <a HREF="../index.html" TARGET="_top"><b>FRAMES</b></a> 
+  <a HREF="tld-summary.html" TARGET="_top"><b>NO FRAMES</b></a> 
+ <script>
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="alltags-noframe.html" TARGET=""><B>All Tags</B></A>');
+ }
+ //-->
+ </script>
+ <noscript>
+ <a HREF="../alltags-noframe.html" TARGET=""><b>All Tags</b></a>
+ </noscript>
+ </font></td>
+ </tr>
+ </table>
+ <!-- =========== END OF NAVBAR =========== -->
+ <hr/>
+ <small><i>
+ Java, JSP, and JavaServer Pages are trademarks or registered
+ trademarks of Sun Microsystems, Inc. in the US and other countries.
+ Copyright 2002-3 Sun Microsystems, Inc.
+ 4150 Network Circle
+ Santa Clara, CA 95054, U.S.A.
+ All Rights Reserved.
+ </i></small>
+ </body>
+ </html>
+ </xsl:if>
+ </xsl:template>
+
+ <xsl:template match="javaee:tag|javaee:tag-file">
+ <tr bgcolor="white" class="TableRowColor">
+ <td width="15%">
+ <b>
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="javaee:name"/>.html</xsl:attribute>
+ <xsl:value-of select="javaee:name"/>
+ </xsl:element>
+ </b>
+ </td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:description!=''">
+ <xsl:value-of select="javaee:description" disable-output-escaping="yes"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>No Description</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ </xsl:template>
+
+ <xsl:template match="javaee:function">
+ <tr bgcolor="white" class="TableRowColor">
+ <td width="15%" nowrap="" align="right">
+ <code><xsl:value-of select='substring-before(normalize-space(javaee:function-signature)," ")'/></code>
+ </td>
+ <td width="15%" nowrap="">
+ <code><b>
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="javaee:name"/>.fn.html</xsl:attribute>
+ <xsl:value-of select="javaee:name"/>
+ </xsl:element>
+ </b>( <xsl:value-of select='substring-after(normalize-space(javaee:function-signature),"(")'/>
+ </code>
+ </td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:description!=''">
+ <xsl:value-of select="javaee:description" disable-output-escaping="yes"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>No Description</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ </xsl:template>
+
+ <xsl:template match="javaee:validator">
+ <tr valign="top" bgcolor="white" class="TableRowColor">
+ <td width="15%">
+ <b><xsl:value-of select="javaee:validator-class"/></b>
+ </td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:description!=''">
+ <xsl:value-of select="javaee:description" disable-output-escaping="yes"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>No Description</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:if test="count(javaee:init-param)>0">
+ <blockquote>
+ <b>Initialization Parameters:</b><br/>
+ <table border="1">
+ <tr>
+ <td><b>Name</b></td>
+ <td><b>Value</b></td>
+ <td><b>Description</b></td>
+ </tr>
+ <xsl:apply-templates select="javaee:init-param"/>
+ </table>
+ </blockquote>
+ </xsl:if>
+ </td>
+ </tr>
+ </xsl:template>
+
+ <xsl:template match="javaee:init-param">
+ <tr valign="top">
+ <td><xsl:value-of select="javaee:param-name"/></td>
+ <td><xsl:value-of select="javaee:param-value"/></td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:param-description!=''">
+ <xsl:value-of select="javaee:param-description"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>No Description</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ </xsl:template>
+
+ <xsl:template match="javaee:listener">
+ <tr valign="top" bgcolor="white" class="TableRowColor">
+ <td>
+ <b><xsl:value-of select="javaee:listener-class"/></b>
+ </td>
+ </tr>
+ </xsl:template>
+
+</xsl:stylesheet>
Copied: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tld1_1-tld1_2.xsl (from rev 2545, trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld1_1-tld1_2.xsl)
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tld1_1-tld1_2.xsl (rev 0)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tld1_1-tld1_2.xsl 2007-08-28 16:39:52 UTC (rev 2546)
@@ -0,0 +1,153 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+ - <license>
+ - Copyright (c) 2003-2004, Sun Microsystems, Inc.
+ - All rights reserved.
+ -
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions are met:
+ -
+ - * Redistributions of source code must retain the above copyright
+ - notice, this list of conditions and the following disclaimer.
+ - * Redistributions in binary form must reproduce the above copyright
+ - notice, this list of conditions and the following disclaimer in the
+ - documentation and/or other materials provided with the distribution.
+ - * Neither the name of Sun Microsystems, Inc. nor the names of its
+ - contributors may be used to endorse or promote products derived from
+ - this software without specific prior written permission.
+ -
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ - </license>
+ -->
+
+<!--
+
+ Translates a JSP 1.1 TLD into a JSP 1.2 TLD, using the following
+ conversion rules:
+
+ 1. Change the document type definition for the TLD to:
+ <!DOCTYPE taglib
+ PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
+ "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
+ 2. Change the <tlibversion> element to <tlib-version>
+ 3. Change the optional <jspversion> element to <jsp-version>. If no
+ element exists, supply one that's set to 1.2
+ 4. Change the <shortname> element to <short-name>
+ 5. Preserve the original optional <uri> tag
+ 6. Change the optional <info> tag to <description>
+ 7. Preserve each tag/name
+ 8. Change each tag/tagclass to tag/tag-class
+ 9. Change each optional tag/teiclass to tag/tei-class
+ 10. Change each optional tag/bodycontent to tag/body-content
+ 11. Change each optional tag/info to tag/description
+ 12. Preserve each tag/attribute element and its contents.
+
+ Side-effect: Strips the id attributes
+
+ Author: Mark Roth
+
+-->
+
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+ <xsl:output method="xml" indent="yes"
+ doctype-system="http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd"
+ doctype-public="-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"/>
+
+ <xsl:template match="/taglib">
+ <taglib>
+ <xsl:apply-templates select="tlibversion"/>
+ <jsp-version>1.2</jsp-version>
+ <xsl:apply-templates select="shortname"/>
+ <xsl:apply-templates select="uri"/>
+ <xsl:apply-templates select="info"/>
+ <xsl:apply-templates select="tag"/>
+ </taglib>
+ </xsl:template>
+
+ <!-- Rename to tlib-version -->
+ <xsl:template match="tlibversion">
+ <tlib-version><xsl:apply-templates/></tlib-version>
+ </xsl:template>
+
+ <!-- Rename to jsp-version -->
+ <xsl:template match="jspversion">
+ <jsp-version><xsl:apply-templates/></jsp-version>
+ </xsl:template>
+
+ <!-- Rename to short-name -->
+ <xsl:template match="shortname">
+ <short-name><xsl:apply-templates/></short-name>
+ </xsl:template>
+
+ <!-- Preserve uri -->
+ <xsl:template match="uri">
+ <uri><xsl:apply-templates/></uri>
+ </xsl:template>
+
+ <!-- Rename to description -->
+ <xsl:template match="info">
+ <description><xsl:apply-templates/></description>
+ </xsl:template>
+
+ <xsl:template match="tag">
+ <tag>
+ <xsl:apply-templates select="name"/>
+ <xsl:apply-templates select="tagclass"/>
+ <xsl:apply-templates select="teiclass"/>
+ <xsl:apply-templates select="bodycontent"/>
+ <xsl:apply-templates select="info"/>
+ <xsl:apply-templates select="attribute"/>
+ </tag>
+ </xsl:template>
+
+ <!-- Preserve name -->
+ <xsl:template match="name">
+ <name><xsl:apply-templates/></name>
+ </xsl:template>
+
+ <!-- Rename to tag-class -->
+ <xsl:template match="tagclass">
+ <tag-class><xsl:apply-templates/></tag-class>
+ </xsl:template>
+
+ <!-- Rename to tei-class -->
+ <xsl:template match="teiclass">
+ <tei-class><xsl:apply-templates/></tei-class>
+ </xsl:template>
+
+ <!-- Rename to body-content -->
+ <xsl:template match="bodycontent">
+ <body-content><xsl:apply-templates/></body-content>
+ </xsl:template>
+
+ <!-- Rename to description -->
+ <xsl:template match="info">
+ <description><xsl:apply-templates/></description>
+ </xsl:template>
+
+ <!-- Preserve attribute -->
+ <xsl:template match="attribute">
+ <attribute>
+ <xsl:apply-templates/>
+ </attribute>
+ </xsl:template>
+
+ <xsl:template match="@*|node()">
+ <xsl:copy>
+ <xsl:apply-templates select="@*|node()"/>
+ </xsl:copy>
+ </xsl:template>
+
+</xsl:stylesheet>
Copied: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tld1_2-tld2_0.xsl (from rev 2545, trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld1_2-tld2_0.xsl)
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tld1_2-tld2_0.xsl (rev 0)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tld1_2-tld2_0.xsl 2007-08-28 16:39:52 UTC (rev 2546)
@@ -0,0 +1,290 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+ - <license>
+ - Copyright (c) 2003-2004, Sun Microsystems, Inc.
+ - All rights reserved.
+ -
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions are met:
+ -
+ - * Redistributions of source code must retain the above copyright
+ - notice, this list of conditions and the following disclaimer.
+ - * Redistributions in binary form must reproduce the above copyright
+ - notice, this list of conditions and the following disclaimer in the
+ - documentation and/or other materials provided with the distribution.
+ - * Neither the name of Sun Microsystems, Inc. nor the names of its
+ - contributors may be used to endorse or promote products derived from
+ - this software without specific prior written permission.
+ -
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ - </license>
+ -->
+
+<!--
+
+ Translates a JSP 1.2 TLD into a JSP 2.0 TLD, using the following
+ conversion rules:
+
+ 1. Change the <taglib> element to read as follows:
+ <taglib xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
+ http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd">
+ 2. Remove all id attributes from all elements.
+ 3. Remove <jsp-version> element and add an attribute to <taglib>
+ called 'version' with the value "2.0".
+ 4. Under <taglib>, if a <description> element exists, move it to
+ the top.
+ 5. Under <taglib>, if a <display-name> element exists, move it
+ to the top, after the <description> element.
+ 6. Under <taglib>, if a <small-icon> and/or <large-icon> element
+ exists, wrap them in an <icon> element and move it to the
+ top, after the <display-name> element.
+ 7. For each taglib/validator element, if a <description> element
+ exists, move it to the top, under <validator>.
+ 8. For each taglib/validator/init-param element, if a
+ <description> element exists, move it to the top, under
+ <init-param>.
+ 9. For each taglib/tag element, if a <description> element
+ exists, move it to the top, under <tag>.
+ 10. For each taglib/tag element, if a <display-name> element
+ exists, move it to the top, after the <description> element,
+ under <tag>.
+ 11. For each taglib/tag element, if a <small-icon> and/or
+ <large-icon> element exists, wrap them in an <icon> element
+ and move it to the top, after the <display-name> element,
+ under <tag>.
+ 12. For each taglib/tag element, if no <body-content> element
+ exists, supply a default value of "JSP"
+ 13. For each taglib/tag/variable element, if a <description>
+ element exists, move it to the top, under <variable>.
+ 14. For each taglib/tag/attribute element, if a <description>
+ element exists, move it to the top, under <attribute>.
+
+ Author: Mark Roth
+
+-->
+
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+ <xsl:output method="xml" indent="yes"/>
+
+ <xsl:template match="/taglib">
+ <xsl:element name="taglib" namespace="http://java.sun.com/xml/ns/j2ee">
+ <xsl:attribute name="xsi:schemaLocation" namespace="http://www.w3.org/2001/XMLSchema-instance">http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd</xsl:attribute>
+ <xsl:attribute name="version">2.0</xsl:attribute>
+ <xsl:apply-templates select="description"/>
+ <xsl:apply-templates select="display-name"/>
+ <xsl:if test="small-icon|large-icon">
+ <icon xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates select="small-icon"/>
+ <xsl:apply-templates select="large-icon"/>
+ </icon>
+ </xsl:if>
+ <xsl:apply-templates select="tlib-version"/>
+ <xsl:apply-templates select="short-name"/>
+ <xsl:apply-templates select="uri"/>
+ <xsl:apply-templates select="validator"/>
+ <xsl:apply-templates select="listener"/>
+ <xsl:apply-templates select="tag"/>
+ </xsl:element>
+ </xsl:template>
+
+ <!-- Strip the id attribute: -->
+ <xsl:template match="description">
+ <description xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates/>
+ </description>
+ </xsl:template>
+
+ <!-- Strip the id attribute: -->
+ <xsl:template match="display-name">
+ <display-name xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates/>
+ </display-name>
+ </xsl:template>
+
+ <!-- Strip the id attribute: -->
+ <xsl:template match="tlib-version">
+ <tlib-version xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates/>
+ </tlib-version>
+ </xsl:template>
+
+ <!-- Strip the id attribute: -->
+ <xsl:template match="short-name">
+ <short-name xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates/>
+ </short-name>
+ </xsl:template>
+
+ <!-- Strip the id attribute: -->
+ <xsl:template match="uri">
+ <uri xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates/>
+ </uri>
+ </xsl:template>
+
+ <xsl:template match="validator">
+ <validator xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates select="description"/>
+ <xsl:apply-templates select="validator-class"/>
+ <xsl:apply-templates select="init-param"/>
+ </validator>
+ </xsl:template>
+
+ <xsl:template match="init-param">
+ <init-param xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates select="description"/>
+ <xsl:apply-templates select="param-name"/>
+ <xsl:apply-templates select="param-value"/>
+ </init-param>
+ </xsl:template>
+
+ <!-- Strip the id attribute: -->
+ <xsl:template match="param-name">
+ <param-name xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates/>
+ </param-name>
+ </xsl:template>
+
+ <!-- Strip the id attribute: -->
+ <xsl:template match="param-value">
+ <param-value xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates/>
+ </param-value>
+ </xsl:template>
+
+ <!-- Strip the id attribute: -->
+ <xsl:template match="listener">
+ <listener xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates select="listener-class"/>
+ </listener>
+ </xsl:template>
+
+ <!-- Strip the id attribute: -->
+ <xsl:template match="listener-class">
+ <listener-class xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates/>
+ </listener-class>
+ </xsl:template>
+
+ <xsl:template match="tag">
+ <tag xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates select="description"/>
+ <xsl:apply-templates select="display-name"/>
+ <xsl:if test="small-icon|large-icon">
+ <icon xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates select="small-icon"/>
+ <xsl:apply-templates select="large-icon"/>
+ </icon>
+ </xsl:if>
+ <xsl:apply-templates select="name"/>
+ <xsl:apply-templates select="tag-class"/>
+ <xsl:apply-templates select="tei-class"/>
+ <xsl:choose>
+ <xsl:when test="body-content">
+ <xsl:apply-templates select="body-content"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <!--
+ - Explicitly Insert the default body-content since this is
+ - now a required element
+ -->
+ <body-content xmlns="http://java.sun.com/xml/ns/j2ee">JSP</body-content>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:apply-templates select="variable"/>
+ <xsl:apply-templates select="attribute"/>
+ <xsl:apply-templates select="example"/>
+ </tag>
+ </xsl:template>
+
+ <!-- Strip the id attribute: -->
+ <xsl:template match="name">
+ <name xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates/>
+ </name>
+ </xsl:template>
+
+ <!-- Strip the id attribute: -->
+ <xsl:template match="tag-class">
+ <tag-class xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates/>
+ </tag-class>
+ </xsl:template>
+
+ <!-- Strip the id attribute: -->
+ <xsl:template match="tei-class">
+ <tei-class xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates/>
+ </tei-class>
+ </xsl:template>
+
+ <!-- Strip the id attribute: -->
+ <xsl:template match="body-content">
+ <body-content xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates/>
+ </body-content>
+ </xsl:template>
+
+ <xsl:template match="variable">
+ <variable xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates select="description"/>
+ <xsl:apply-templates select="name-given"/>
+ <xsl:apply-templates select="name-from-attribute"/>
+ <xsl:apply-templates select="variable-class"/>
+ <xsl:apply-templates select="declare"/>
+ <xsl:apply-templates select="scope"/>
+ </variable>
+ </xsl:template>
+
+ <xsl:template match="attribute">
+ <attribute xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates select="description"/>
+ <xsl:apply-templates select="name"/>
+ <xsl:apply-templates select="required"/>
+ <xsl:apply-templates select="rtexprvalue"/>
+ <xsl:apply-templates select="type"/>
+ </attribute>
+ </xsl:template>
+
+ <!-- Strip the id attribute: -->
+ <xsl:template match="required">
+ <required xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates/>
+ </required>
+ </xsl:template>
+
+ <!-- Strip the id attribute: -->
+ <xsl:template match="rtexprvalue">
+ <rtexprvalue xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates/>
+ </rtexprvalue>
+ </xsl:template>
+
+ <!-- Strip the id attribute: -->
+ <xsl:template match="example">
+ <example xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates/>
+ </example>
+ </xsl:template>
+
+ <xsl:template match="@*|node()">
+ <xsl:copy>
+ <xsl:apply-templates select="@*|node()"/>
+ </xsl:copy>
+ </xsl:template>
+
+</xsl:stylesheet>
Copied: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tld2_0-tld2_1.xsl (from rev 2545, trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld2_0-tld2_1.xsl)
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tld2_0-tld2_1.xsl (rev 0)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tld2_0-tld2_1.xsl 2007-08-28 16:39:52 UTC (rev 2546)
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+
+<!--
+ - <license>
+ - Copyright (c) 2003-2004, Sun Microsystems, Inc.
+ - All rights reserved.
+ -
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions are met:
+ -
+ - * Redistributions of source code must retain the above copyright
+ - notice, this list of conditions and the following disclaimer.
+ - * Redistributions in binary form must reproduce the above copyright
+ - notice, this list of conditions and the following disclaimer in the
+ - documentation and/or other materials provided with the distribution.
+ - * Neither the name of Sun Microsystems, Inc. nor the names of its
+ - contributors may be used to endorse or promote products derived from
+ - this software without specific prior written permission.
+ -
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ - </license>
+ -->
+
+<!--
+
+ Identity transformation (changing from the J2EE namespace
+ to the Java EE namespace), added for flexibility.
+
+ 1. Change the <taglib> element to read as follows:
+ <taglib xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
+ http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd">
+
+ Author: Mark Roth
+
+-->
+
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:j2ee="http://java.sun.com/xml/ns/j2ee">
+ <xsl:output method="xml" indent="yes"/>
+
+ <xsl:template match="/j2ee:taglib">
+ <xsl:element name="taglib" namespace="http://java.sun.com/xml/ns/javaee">
+ <xsl:attribute name="xsi:schemaLocation" namespace="http://www.w3.org/2001/XMLSchema-instance">http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd</xsl:attribute>
+ <xsl:attribute name="version">2.1</xsl:attribute>
+ <xsl:apply-templates select="*"/>
+ </xsl:element>
+ </xsl:template>
+
+ <xsl:template match="j2ee:*">
+ <xsl:element name="{local-name()}" namespace="http://java.sun.com/xml/ns/javaee">
+ <xsl:copy-of select="@*"/>
+ <xsl:apply-templates/>
+ </xsl:element>
+ </xsl:template>
+
+</xsl:stylesheet>
Copied: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tld2_1-tld2_1.xsl (from rev 2545, trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld2_1-tld2_1.xsl)
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tld2_1-tld2_1.xsl (rev 0)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tld2_1-tld2_1.xsl 2007-08-28 16:39:52 UTC (rev 2546)
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+
+<!--
+ - <license>
+ - Copyright (c) 2003-2004, Sun Microsystems, Inc.
+ - All rights reserved.
+ -
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions are met:
+ -
+ - * Redistributions of source code must retain the above copyright
+ - notice, this list of conditions and the following disclaimer.
+ - * Redistributions in binary form must reproduce the above copyright
+ - notice, this list of conditions and the following disclaimer in the
+ - documentation and/or other materials provided with the distribution.
+ - * Neither the name of Sun Microsystems, Inc. nor the names of its
+ - contributors may be used to endorse or promote products derived from
+ - this software without specific prior written permission.
+ -
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ - </license>
+ -->
+
+<!--
+
+ Identity transformation, added for flexibility.
+
+ 1. Remove any tag-extension, function-extension and taglib-extension
+ elements.
+
+ Author: Mark Roth
+
+-->
+
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:javaee="http://java.sun.com/xml/ns/javaee">
+ <xsl:output method="xml" indent="yes"/>
+
+ <xsl:template match="/javaee:taglib">
+ <xsl:element name="taglib" namespace="http://java.sun.com/xml/ns/javaee">
+ <xsl:attribute name="xsi:schemaLocation"
+ namespace="http://www.w3.org/2001/XMLSchema-instance">http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd</xsl:attribute>
+ <xsl:attribute name="version">2.1</xsl:attribute>
+ <xsl:apply-templates select="*"/>
+ </xsl:element>
+ </xsl:template>
+
+ <xsl:template match="javaee:tag-extension">
+ </xsl:template>
+
+ <xsl:template match="javaee:function-extension">
+ </xsl:template>
+
+ <xsl:template match="javaee:taglib-extension">
+ </xsl:template>
+
+ <xsl:template match="@*|node()">
+ <xsl:copy>
+ <xsl:apply-templates select="@*|node()"/>
+ </xsl:copy>
+ </xsl:template>
+
+ <xsl:template match="text()">
+ <xsl:value-of select="normalize-space(.)" />
+ </xsl:template>
+
+</xsl:stylesheet>
17 years, 4 months
JBoss Rich Faces SVN: r2545 - in trunk: samples/richfaces-demo and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: alexsmirnov
Date: 2007-08-28 12:37:06 -0400 (Tue, 28 Aug 2007)
New Revision: 2545
Added:
trunk/samples/richfaces-demo/src/main/xslt/tlddoc/
Removed:
trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/
Modified:
trunk/samples/richfaces-demo/pom.xml
Log:
Use java exec plugin for generate demo application tlddoc files instead of plugin
Modified: trunk/samples/richfaces-demo/pom.xml
===================================================================
--- trunk/samples/richfaces-demo/pom.xml 2007-08-28 16:25:55 UTC (rev 2544)
+++ trunk/samples/richfaces-demo/pom.xml 2007-08-28 16:37:06 UTC (rev 2545)
@@ -47,52 +47,67 @@
<artifactItems>
<artifactItem>
<groupId>org.richfaces.ui</groupId>
- <artifactId>richfaces-ui</artifactId>
- <version>${project.version}</version>
+ <artifactId>
+ richfaces-ui
+ </artifactId>
+ <version>
+ ${project.version}
+ </version>
</artifactItem>
</artifactItems>
- <outputDirectory>
- ${project.build.directory}/richfaces
- </outputDirectory>
- <overWriteReleases>
- false
- </overWriteReleases>
- <overWriteSnapshots>
- true
- </overWriteSnapshots>
+ <outputDirectory>
+ ${project.build.directory}/richfaces
+ </outputDirectory>
+ <overWriteReleases>false</overWriteReleases>
+ <overWriteSnapshots>
+ true
+ </overWriteSnapshots>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
- <groupId>net.sourceforge.maven-taglib</groupId>
- <artifactId>maven-taglib-plugin</artifactId>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
<dependencies>
- <dependency>
- <groupId>org.richfaces.docs</groupId>
- <artifactId>taglibxsl</artifactId>
- <version>3.1.0-SNAPSHOT</version>
- </dependency>
+ <dependency>
+ <groupId>taglibrarydoc</groupId>
+ <artifactId>tlddoc</artifactId>
+ <version>1.3</version>
+ </dependency>
</dependencies>
<configuration>
- <srcDir>
- ${project.build.directory}/richfaces/META-INF
- </srcDir>
- <tldDocDir>
- ${project.build.directory}/${project.build.finalName}/WEB-INF/tlddoc
- </tldDocDir>
+ <includeProjectDependencies>
+ false
+ </includeProjectDependencies>
+ <includePluginDependencies>
+ true
+ </includePluginDependencies>
+ <executableDependency>
+ <groupId>taglibrarydoc</groupId>
+ <artifactId>tlddoc</artifactId>
+ </executableDependency>
+ <mainClass>com.sun.tlddoc.TLDDoc</mainClass>
+ <arguments>
+ <argument>-d</argument>
+ <argument>${project.build.directory}/${project.build.finalName}/WEB-INF/tlddoc</argument>
+ <argument>-xslt</argument>
+ <argument>${basedir}/src/main/xslt/tlddoc</argument>
+ <argument>${project.build.directory}/richfaces/META-INF/ajax4jsf.tld</argument>
+ <argument>${project.build.directory}/richfaces/META-INF/rich.tld</argument>
+ </arguments>
</configuration>
<executions>
<execution>
- <id>attach-javadoc</id>
+ <id>tlddoc</id>
<phase>process-resources</phase>
<goals>
- <goal>taglibdoc</goal>
+ <goal>java</goal>
</goals>
</execution>
</executions>
- </plugin>
+ </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
Copied: trunk/samples/richfaces-demo/src/main/xslt/tlddoc (from rev 2542, trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc)
17 years, 4 months
JBoss Rich Faces SVN: r2544 - in trunk/ui/calendar/src/main: resources/org/richfaces/renderkit/html/scripts and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: pyaschenko
Date: 2007-08-28 12:25:55 -0400 (Tue, 28 Aug 2007)
New Revision: 2544
Modified:
trunk/ui/calendar/src/main/config/component/calendar.xml
trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js
trunk/ui/calendar/src/main/templates/org/richfaces/htmlCalendar.jspx
Log:
RF-725 partial fix
Modified: trunk/ui/calendar/src/main/config/component/calendar.xml
===================================================================
--- trunk/ui/calendar/src/main/config/component/calendar.xml 2007-08-28 16:21:35 UTC (rev 2543)
+++ trunk/ui/calendar/src/main/config/component/calendar.xml 2007-08-28 16:25:55 UTC (rev 2544)
@@ -312,6 +312,93 @@
replacing any message that comes from the converter
</description>
</property>
+
+ <property>
+ <name>onclick</name>
+ <classname>java.lang.String</classname>
+ <description>
+ onClick event handler
+ </description>
+ </property>
+ <property>
+ <name>onfocus</name>
+ <classname>java.lang.String</classname>
+ <description>
+ onFocus event handler
+ </description>
+ </property>
+ <property>
+ <name>onBlur</name>
+ <classname>java.lang.String</classname>
+ <description>
+ onBlur event handler
+ </description>
+ </property>
+ <property>
+ <name>onChange</name>
+ <classname>java.lang.String</classname>
+ <description>
+ onChange event handler
+ </description>
+ </property>
+
+ <property>
+ <name>oninputchange</name>
+ <classname>java.lang.String</classname>
+ <description>
+ input onChange event handler
+ </description>
+ </property>
+ <property>
+ <name>oninputselect</name>
+ <classname>java.lang.String</classname>
+ <description>
+ input onSelect event handler
+ </description>
+ </property>
+ <property>
+ <name>oninputfocus</name>
+ <classname>java.lang.String</classname>
+ <description>
+ input onFocus event handler
+ </description>
+ </property>
+ <property>
+ <name>oninputblur</name>
+ <classname>java.lang.String</classname>
+ <description>
+ input onBlur event handler
+ </description>
+ </property>
+ <property>
+ <name>oninputclick</name>
+ <classname>java.lang.String</classname>
+ <description>
+ input onClick event handler
+ </description>
+ </property>
+ <property>
+ <name>oninputkeypress</name>
+ <classname>java.lang.String</classname>
+ <description>
+ input onKeyPress event handler
+ </description>
+ </property>
+ <property>
+ <name>oninputkeydown</name>
+ <classname>java.lang.String</classname>
+ <description>
+ input onKeyDown event handler
+ </description>
+ </property>
+ <property>
+ <name>oninputkeyup</name>
+ <classname>java.lang.String</classname>
+ <description>
+ input onKeyUp event handler
+ </description>
+ </property>
+
<property hidden="true">
<name>localValueSet</name>
<description>localValueSet</description>
@@ -320,5 +407,10 @@
<name>valid</name>
<description>valid</description>
</property>
+ <property hidden="true">
+ <name>valid</name>
+ <description>valid</description>
+ </property>
+
</component>
</components>
Modified: trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js
===================================================================
--- trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js 2007-08-28 16:21:35 UTC (rev 2543)
+++ trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js 2007-08-28 16:25:55 UTC (rev 2544)
@@ -233,8 +233,8 @@
});
/* Year:
- * yy - 00-99
- * y,yyy+ - 1999
+ * y,yy - 00-99
+ * yyy+ - 1999
* Month:
* M - 1-12
* MM - 01-12
@@ -261,9 +261,10 @@
var shortLabel=false;
pattern = pattern.replace(/([.*+?^<>=!:${}()|[\]\/\\])/g, '\\$1');
- pattern = pattern.replace(/(yy^y|y+|M^M|MM^M|MMM^M|M+|d^d|d+)/g,
+ pattern = pattern.replace(/(y+|M+|d+)/g,
function($1) {
switch ($1) {
+ case 'y' :
case 'yy' : y=counter; counter++; return '(\\d{2})';
case 'MM' : m=counter; counter++; return '(\\d{2})';
case 'M' : m=counter; counter++; return '(\\d{1,2})';
@@ -296,10 +297,11 @@
if (!monthNames) monthNames = Date.getDefaultMonthNames();
if (!monthNamesShort) monthNamesShort = Date.getDefaultMonthNames(true);
var d = this; var mm; var dd;
- return pattern.replace(/(yy^y|y+|M^M|MM^M|MMM^M|M+|d^d|d+)/g,
+ return pattern.replace(/(y+|M+|d+)/g,
function($1) {
switch ($1) {
- case 'yy': return d.getYear().toString().substr(-2);
+ case 'y':
+ case 'yy': return str = d.getYear().toString().slice(-2);
case 'M': return d.getMonth()+1;
case 'MM': return (mm = d.getMonth()+1)<10 ? '0'+mm : mm;
case 'MMM': return monthNamesShort[d.getMonth()];
Modified: trunk/ui/calendar/src/main/templates/org/richfaces/htmlCalendar.jspx
===================================================================
--- trunk/ui/calendar/src/main/templates/org/richfaces/htmlCalendar.jspx 2007-08-28 16:21:35 UTC (rev 2543)
+++ trunk/ui/calendar/src/main/templates/org/richfaces/htmlCalendar.jspx 2007-08-28 16:25:55 UTC (rev 2544)
@@ -125,15 +125,18 @@
disabled="#{component.attributes['disabled']}"
accesskey="#{component.attributes['accesskey']}"
maxlength="#{component.attributes['maxlength']}"
- onchange="#{component.attributes['onchange']}"
- onselect="#{component.attributes['onselect']}"
- onfocus="#{component.attributes['onfocus']}"
- onblur="#{component.attributes['onblur']}"
+ onchange="#{component.attributes['oninputchange']}"
+ onselect="#{component.attributes['oninputselect']}"
+ onfocus="#{component.attributes['oninputfocus']}"
+ onblur="#{component.attributes['oninputblur']}"
+ onclick="#{component.attributes['oninputclick']}"
+ onkeypress="#{component.attributes['oninputkeypress']}"
+ onkeydown="#{component.attributes['oninputkeydown']}"
+ onkeyup="#{component.attributes['oninputkeyup']}"
size="#{component.attributes['inputSize']}"
style="vertical-align: middle; #{component.attributes['inputStyle']}"
class="rich-calendar-input #{component.attributes['inputClass']}"
- tabindex="#{component.attributes['tabindex']}"
- onclick="#{onclick}">
+ tabindex="#{component.attributes['tabindex']}">
</input>
<img id="#{clientId}PopupButton"
class="rich-calendar-popupicon"
17 years, 4 months
JBoss Rich Faces SVN: r2543 - trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/examples.
by richfaces-svn-commits@lists.jboss.org
Author: pyaschenko
Date: 2007-08-28 12:21:35 -0400 (Tue, 28 Aug 2007)
New Revision: 2543
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/examples/calSample.xhtml
Log:
RF-701
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/examples/calSample.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/examples/calSample.xhtml 2007-08-28 15:36:48 UTC (rev 2542)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/examples/calSample.xhtml 2007-08-28 16:21:35 UTC (rev 2543)
@@ -25,12 +25,12 @@
<h:panelGrid columns="2">
<h:outputText value="Popup Mode:" />
<h:selectBooleanCheckbox value="#{calendarBean.popup}">
- <a4j:support event="onchange" reRender="calendar"/>
+ <a4j:support event="onclick" reRender="calendar"/>
</h:selectBooleanCheckbox>
<h:outputText value="Select Locale" />
<h:selectOneRadio value="en/US" valueChangeListener="#{calendarBean.selectLocale}">
- <a4j:support event="onchange" reRender="calendar"/>
+ <a4j:support event="onclick" reRender="calendar"/>
<f:selectItem itemLabel="US" itemValue="en/US"/>
<f:selectItem itemLabel="DE" itemValue="de/DE"/>
<f:selectItem itemLabel="FR" itemValue="fr/FR"/>
17 years, 4 months
JBoss Rich Faces SVN: r2542 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: smukhina
Date: 2007-08-28 11:36:48 -0400 (Tue, 28 Aug 2007)
New Revision: 2542
Modified:
trunk/docs/userguide/en/src/main/docbook/included/panelBarItem.xml
Log:
http://jira.jboss.com/jira/browse/RF-745
Modified: trunk/docs/userguide/en/src/main/docbook/included/panelBarItem.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/panelBarItem.xml 2007-08-28 15:08:54 UTC (rev 2541)
+++ trunk/docs/userguide/en/src/main/docbook/included/panelBarItem.xml 2007-08-28 15:36:48 UTC (rev 2542)
@@ -231,7 +231,7 @@
}
...
]]></programlisting>
- <para>The component is defined in the following way:</para>
+ <para>The component is defined in the following way:</para>
<para>
<emphasis role="bold">Example:</emphasis>
17 years, 4 months
JBoss Rich Faces SVN: r2541 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: smukhina
Date: 2007-08-28 11:08:54 -0400 (Tue, 28 Aug 2007)
New Revision: 2541
Modified:
trunk/docs/userguide/en/src/main/docbook/included/panelBarItem.xml
Log:
http://jira.jboss.com/jira/browse/RF-745
Modified: trunk/docs/userguide/en/src/main/docbook/included/panelBarItem.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/panelBarItem.xml 2007-08-28 14:54:18 UTC (rev 2540)
+++ trunk/docs/userguide/en/src/main/docbook/included/panelBarItem.xml 2007-08-28 15:08:54 UTC (rev 2541)
@@ -222,7 +222,7 @@
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="XML"><![CDATA[...
+ <programlisting role="CSS"><![CDATA[...
.rich-panelbar-header{
font-size:14px;
}
17 years, 4 months
JBoss Rich Faces SVN: r2539 - trunk/ui/modal-panel/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: vkorluzhenko
Date: 2007-08-28 10:54:08 -0400 (Tue, 28 Aug 2007)
New Revision: 2539
Modified:
trunk/ui/modal-panel/src/main/config/component/modalPanel.xml
Log:
http://jira.jboss.com/jira/browse/RF-696 - added descriptions
Modified: trunk/ui/modal-panel/src/main/config/component/modalPanel.xml
===================================================================
--- trunk/ui/modal-panel/src/main/config/component/modalPanel.xml 2007-08-28 14:23:42 UTC (rev 2538)
+++ trunk/ui/modal-panel/src/main/config/component/modalPanel.xml 2007-08-28 14:54:08 UTC (rev 2539)
@@ -112,12 +112,8 @@
<description> HTML CSS class attribute of element for pop-up suggestion content
</description>
</property>
+
<property>
- <name>keepVisualState</name>
- <classname>boolean</classname>
- <description> If 'true' modalPanel should save state after submittion </description>
- </property>
- <property>
<name>shadowDepth</name>
<classname>java.lang.String</classname>
<description> Pop-up shadow depth for suggestion content </description>
@@ -143,10 +139,17 @@
<property>
<name>keepVisualState</name>
<classname>boolean</classname>
- <description> </description>
+ <description> If "true" modalPanel should save state after submittion </description>
<defaultvalue>false</defaultvalue>
</property>
+
<property>
+ <name>visualOptions</name>
+ <classname>java.util.Map</classname>
+ <description>Defines options that were specified on the client side</description>
+ <defaultvalue/>
+ </property>
+ <property>
<name>tridentIVEngineSelectBehavior</name>
<classname>java.lang.String</classname>
<description> How to handle HTML SELECT-based controls in IE 6? - "disable" - default,
17 years, 4 months
JBoss Rich Faces SVN: r2538 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: smukhina
Date: 2007-08-28 10:23:42 -0400 (Tue, 28 Aug 2007)
New Revision: 2538
Modified:
trunk/docs/userguide/en/src/main/docbook/included/calendar.xml
trunk/docs/userguide/en/src/main/docbook/included/dropDownMenu.xml
trunk/docs/userguide/en/src/main/docbook/included/insert.xml
trunk/docs/userguide/en/src/main/docbook/included/menuGroup.xml
trunk/docs/userguide/en/src/main/docbook/included/menuItem.xml
trunk/docs/userguide/en/src/main/docbook/included/menuSeparator.xml
trunk/docs/userguide/en/src/main/docbook/included/panelMenu.xml
trunk/docs/userguide/en/src/main/docbook/included/panelMenuGroup.xml
trunk/docs/userguide/en/src/main/docbook/included/panelMenuItem.xml
Log:
http://jira.jboss.com/jira/browse/RF-745
role should be defined in uppercase letters e.g. XML, and not xml, most cases are fixed
spaces were deleted between rich: and the compoentn name
Modified: trunk/docs/userguide/en/src/main/docbook/included/calendar.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/calendar.xml 2007-08-28 14:04:11 UTC (rev 2537)
+++ trunk/docs/userguide/en/src/main/docbook/included/calendar.xml 2007-08-28 14:23:42 UTC (rev 2538)
@@ -61,7 +61,7 @@
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="xml"><![CDATA[...
+ <programlisting role="XML"><![CDATA[...
<rich:calendar popup="false"/>
...]]></programlisting>
</section>
@@ -161,7 +161,7 @@
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="xml"><![CDATA[...
+ <programlisting role="XML"><![CDATA[...
<f:facet name="header">
<f:verbatim>
{previousMonthControl} | {nextMonthControl}
@@ -191,7 +191,7 @@
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="xml"><![CDATA[...
+ <programlisting role="XML"><![CDATA[...
<f:facet name="weekNumber">
<h:outputText style="font-weight: bold;" value="{weekNumber}" />
</f:facet>
Modified: trunk/docs/userguide/en/src/main/docbook/included/dropDownMenu.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dropDownMenu.xml 2007-08-28 14:04:11 UTC (rev 2537)
+++ trunk/docs/userguide/en/src/main/docbook/included/dropDownMenu.xml 2007-08-28 14:23:42 UTC (rev 2538)
@@ -61,7 +61,7 @@
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="xml"><![CDATA[...
+ <programlisting role="XML"><![CDATA[...
<rich:dropDownMenu value="Item1">
<!--Nested menu components-->
</rich:dropDownMenu>
@@ -102,7 +102,7 @@
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="xml"><![CDATA[...
+ <programlisting role="XML"><![CDATA[...
<f:facet name="label">
<h:graphicImage value="/images/img1.gif"/>
</f:facet>
@@ -118,7 +118,7 @@
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="xml"><![CDATA[...
+ <programlisting role="XML"><![CDATA[...
<rich:dropDownMenu event="onclick" value="Item1">
<!--Nested menu components-->
</rich:dropDownMenu>
@@ -239,7 +239,7 @@
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="xml"><![CDATA[...
+ <programlisting role="XML"><![CDATA[...
<rich:dropDownMenu value="Item1" direction="bottom-right" jointPoint="tr">
<!--Nested menu components-->
</rich:dropDownMenu>
@@ -271,7 +271,7 @@
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="xml"><![CDATA[...
+ <programlisting role="XML"><![CDATA[...
<rich:dropDownMenu value="Item1" direction="bottom-right" jointPoint="tr" horizontalOffset="-15" verticalOffset="0">
<!--Nested menu components-->
</rich:dropDownMenu>
Modified: trunk/docs/userguide/en/src/main/docbook/included/insert.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/insert.xml 2007-08-28 14:04:11 UTC (rev 2537)
+++ trunk/docs/userguide/en/src/main/docbook/included/insert.xml 2007-08-28 14:23:42 UTC (rev 2538)
@@ -61,7 +61,7 @@
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="xml"><![CDATA[...
+ <programlisting role="XML"><![CDATA[...
<rich:insert src="/pages/sourcePage.xhtml" highlight="xhtml"/>
...]]></programlisting>
</section>
@@ -95,7 +95,7 @@
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="xml"><![CDATA[...
+ <programlisting role="XML"><![CDATA[...
<rich:insert src="/pages/sourcePage.xhtml" highlight="xhtml"/>
...]]></programlisting>
<figure>
Modified: trunk/docs/userguide/en/src/main/docbook/included/menuGroup.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/menuGroup.xml 2007-08-28 14:04:11 UTC (rev 2537)
+++ trunk/docs/userguide/en/src/main/docbook/included/menuGroup.xml 2007-08-28 14:23:42 UTC (rev 2538)
@@ -47,10 +47,10 @@
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="xml"><![CDATA[...
+ <programlisting role="XML"><![CDATA[...
<rich:dropDownMenu value="Active">
...
- <rich: menuGroup value="Active">
+ <rich:menuGroup value="Active">
<!--Nested menu components-->
</rich:menuGroup>
...
@@ -93,7 +93,7 @@
</emphasis> attributes are ignored and the facets' contents are used as icons.
This could be used for an item check box implementation. </para>
<para> Here is an example: </para>
- <programlisting role="xml"><![CDATA[...
+ <programlisting role="XML"><![CDATA[...
<f:facet name="icon">
<h:selectBooleanCheckbox value="#{bean.property}"/>
</f:facet>
@@ -141,7 +141,7 @@
<property>"auto"</property>
</emphasis>. </para>
<para> Here is an example: </para>
- <programlisting role="xml"><![CDATA[...
+ <programlisting role="XML"><![CDATA[...
<rich:menuGroup value="Active" direction="left-down"
<!--Nested menu components-->
</rich:menuGroup>
Modified: trunk/docs/userguide/en/src/main/docbook/included/menuItem.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/menuItem.xml 2007-08-28 14:04:11 UTC (rev 2537)
+++ trunk/docs/userguide/en/src/main/docbook/included/menuItem.xml 2007-08-28 14:23:42 UTC (rev 2538)
@@ -47,7 +47,7 @@
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="xml"><![CDATA[...
+ <programlisting role="XML"><![CDATA[...
<rich:dropDownMenu>
...
<rich:menuItem value="Active"/>
@@ -90,7 +90,7 @@
</emphasis> attributes are ignored and the facets content is shown as an icon. It could
be used for an item check box implementation. </para>
<para> Here is an example: </para>
- <programlisting role="xml"><![CDATA[...
+ <programlisting role="XML"><![CDATA[...
<f:facet name="icon">
<h:selectBooleanCheckbox value="#{bean.property}"/>
</f:facet>
@@ -98,7 +98,7 @@
]]></programlisting>
<para>The <emphasis role="bold">
- <property><rich: menuItem></property>
+ <property><rich:menuItem></property>
</emphasis>
<emphasis>
<property>"submitMode"</property>
@@ -141,7 +141,7 @@
<property>"none"</property>
</emphasis>. </para>
<para> Here is an example: </para>
- <programlisting role="xml"><![CDATA[...
+ <programlisting role="XML"><![CDATA[...
<rich:dropDownMenu>
...
<rich:menuItem submitMode="none">
@@ -155,7 +155,7 @@
<property>"disabled"</property>
</emphasis> attribute to set the item state. </para>
<para> Here is an example: </para>
- <programlisting role="xml"><![CDATA[...
+ <programlisting role="XML"><![CDATA[...
<rich:dropDownMenu>
<rich:menuItem value="Disable" disabled="true"/>
<rich:dropDownMenu>
Modified: trunk/docs/userguide/en/src/main/docbook/included/menuSeparator.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/menuSeparator.xml 2007-08-28 14:04:11 UTC (rev 2537)
+++ trunk/docs/userguide/en/src/main/docbook/included/menuSeparator.xml 2007-08-28 14:23:42 UTC (rev 2538)
@@ -47,10 +47,10 @@
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="xml"><![CDATA[...
+ <programlisting role="XML"><![CDATA[...
<rich:dropDownMenu/>
...
- <rich: menuSeparator/>
+ <rich:menuSeparator/>
...
<rich:dropDownMenu/>
...
Modified: trunk/docs/userguide/en/src/main/docbook/included/panelMenu.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/panelMenu.xml 2007-08-28 14:04:11 UTC (rev 2537)
+++ trunk/docs/userguide/en/src/main/docbook/included/panelMenu.xml 2007-08-28 14:23:42 UTC (rev 2538)
@@ -61,7 +61,7 @@
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="xml"><![CDATA[...
+ <programlisting role="XML"><![CDATA[...
<rich:panelMenu event="onmouseover">
<!--Nested panelMenu components-->
</rich:panelMenu>
@@ -74,7 +74,7 @@
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="java"><![CDATA[import org.richfaces.component.html.HtmlPanelMenu;
+ <programlisting role="JAVA"><![CDATA[import org.richfaces.component.html.HtmlPanelMenu;
...
HtmlPanelMenu myPanelMenu = new HtmlPanelMenu();
...
@@ -95,7 +95,7 @@
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="xml"><![CDATA[...
+ <programlisting role="XML"><![CDATA[...
<rich:panelMenu event="onmouseover">
<!--Nested panelMenu components-->
</rich:panelMenu>
@@ -149,7 +149,7 @@
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="xml"><![CDATA[...
+ <programlisting role="XML"><![CDATA[...
<rich:panelMenu event="onclick" submitMode="none">
< rich:panelMenuItem label="Link to external page">
<h:outputLink ... >
@@ -190,7 +190,7 @@
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="xml"><![CDATA[...
+ <programlisting role="XML"><![CDATA[...
<rich:panelMenu selectedChild="thisChild">
<rich:panelMenuGroup label="Group1" name="thisChild">
<!--Nested panelMenu components-->
Modified: trunk/docs/userguide/en/src/main/docbook/included/panelMenuGroup.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/panelMenuGroup.xml 2007-08-28 14:04:11 UTC (rev 2537)
+++ trunk/docs/userguide/en/src/main/docbook/included/panelMenuGroup.xml 2007-08-28 14:23:42 UTC (rev 2538)
@@ -61,7 +61,7 @@
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="xml"><![CDATA[...
+ <programlisting role="XML"><![CDATA[...
<rich:panelMenu>
<rich:panelMenuGroup label="Group1">
<!--Nested panelMenu components-->
@@ -154,7 +154,7 @@
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="xml"><![CDATA[...
+ <programlisting role="XML"><![CDATA[...
<rich:panelMenu>
<rich:panelMenuGroup label="Group1" iconExpanded="disc" iconCollapsed="chevron">
<!--Nested panelMenu components-->
@@ -186,9 +186,9 @@
<para>It's also possible to define a path to the icon. Simple code is placed below.</para>
- <programlisting role="xml"><![CDATA[...
+ <programlisting role="XML"><![CDATA[...
<rich:panelMenu>
- <rich:panelMenuGroup label="Group1" iconExpanded="\images\img1.gif" iconCollapsed=""\images\img2.gif"">
+ <rich:panelMenuGroup label="Group1" iconExpanded="\images\img1.gif" iconCollapsed="\images\img2.gif">
<!--Nested menu components-->
</rich:panelMenuGroup>
</rich:panelMenu>
Modified: trunk/docs/userguide/en/src/main/docbook/included/panelMenuItem.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/panelMenuItem.xml 2007-08-28 14:04:11 UTC (rev 2537)
+++ trunk/docs/userguide/en/src/main/docbook/included/panelMenuItem.xml 2007-08-28 14:23:42 UTC (rev 2538)
@@ -61,7 +61,7 @@
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="xml"><![CDATA[...
+ <programlisting role="XML"><![CDATA[...
<rich:panelMenu>
...
<rich:panelMenuItem value="Item1"/>
@@ -133,7 +133,7 @@
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="xml"><![CDATA[...
+ <programlisting role="XML"><![CDATA[...
<rich:panelMenu>
...
<rich:panelMenuItem submitMode="none" onclick="document.location.href='http://labs.jboss.com/jbossrichfaces/">
@@ -168,7 +168,7 @@
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="xml"><![CDATA[...
+ <programlisting role="XML"><![CDATA[...
<rich:panelMenu>
...
<rich:panelMenuItem ="Item 1.1" icon="chevronUp" />
@@ -189,7 +189,7 @@
<para>It's also possible to define a path to the icon. Simple code is placed below.</para>
- <programlisting role="xml"><![CDATA[...
+ <programlisting role="XML"><![CDATA[...
<rich:panelMenu>
...
<rich:panelMenuItem ="Item 1.1" icon="\images\img1.gif" />
17 years, 4 months