JBoss Rich Faces SVN: r22350 - in branches/4.0.X/ui/dist/richfaces-components-ui: src and 3 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2011-03-31 15:54:02 -0400 (Thu, 31 Mar 2011)
New Revision: 22350
Added:
branches/4.0.X/ui/dist/richfaces-components-ui/src/
branches/4.0.X/ui/dist/richfaces-components-ui/src/main/
branches/4.0.X/ui/dist/richfaces-components-ui/src/main/assembly/
branches/4.0.X/ui/dist/richfaces-components-ui/src/main/assembly/vdldoc-assembly.xml
branches/4.0.X/ui/dist/richfaces-components-ui/src/main/properties/
branches/4.0.X/ui/dist/richfaces-components-ui/src/main/properties/properties.xml
Modified:
branches/4.0.X/ui/dist/richfaces-components-ui/pom.xml
Log:
https://issues.jboss.org/browse/RF-10601 Update build to generation on profiles
Modified: branches/4.0.X/ui/dist/richfaces-components-ui/pom.xml
===================================================================
--- branches/4.0.X/ui/dist/richfaces-components-ui/pom.xml 2011-03-31 19:49:00 UTC (rev 22349)
+++ branches/4.0.X/ui/dist/richfaces-components-ui/pom.xml 2011-03-31 19:54:02 UTC (rev 22350)
@@ -35,7 +35,7 @@
<name>Richfaces UI Components UI</name>
<properties>
- <faces-shade-transformers.version>4</faces-shade-transformers.version>
+ <faces-shade-transformers.version>4-SNAPSHOT</faces-shade-transformers.version>
<assembly.projects.group>org.richfaces.ui</assembly.projects.group>
</properties>
@@ -102,6 +102,14 @@
<artifactId>jstl</artifactId>
<scope>provided</scope>
</dependency>
+
+
+ <dependency>
+ <groupId>org.richfaces.build.resources</groupId>
+ <artifactId>faces-vdl-documentation</artifactId>
+ <version>1-SNAPSHOT</version>
+ </dependency>
+
</dependencies>
<build>
@@ -180,6 +188,29 @@
<excludeTransitive>true</excludeTransitive>
</configuration>
</execution>
+ <execution>
+ <id>vdldeps</id>
+ <phase>process-sources</phase>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.richfaces.build.resources</groupId>
+ <artifactId>faces-vdl-documentation</artifactId>
+ <outputDirectory>${project.build.directory}/resources/</outputDirectory>
+ <includes>**/*.xsl</includes>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.richfaces.build.resources</groupId>
+ <artifactId>faces-vdl-documentation</artifactId>
+ <outputDirectory>${project.build.directory}/vdldoc/</outputDirectory>
+ <includes>**/*.css</includes>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
</executions>
</plugin>
<plugin>
@@ -190,7 +221,69 @@
<sourcepath>${basedir}/target/dependency</sourcepath>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>xml-maven-plugin</artifactId>
+ <version>1.0</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>transform</goal>
+ </goals>
+ <phase>package</phase>
+ </execution>
+ </executions>
+ <configuration>
+ <transformationSets>
+ <transformationSet>
+ <dir>src/main/properties</dir>
+ <stylesheet>target/resources/xsl/common.xsl</stylesheet>
+ <parameters>
+ <parameter>
+ <name>output-dir</name>
+ <value>target/vdldoc/</value>
+ </parameter>
+ </parameters>
+ <fileMappers>
+ <fileMapper
+ implementation="org.codehaus.plexus.components.io.filemappers.RegExpFileMapper">
+ <pattern>^(.*)\.(.*)$</pattern>
+ <replacement>all.txt</replacement>
+ </fileMapper>
+ </fileMappers>
+ </transformationSet>
+ </transformationSets>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>net.sf.saxon</groupId>
+ <artifactId>saxon</artifactId>
+ <version>8.7</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <version>2.2.1</version>
+ <configuration>
+ <descriptors>
+ <descriptor>src/main/assembly/vdldoc-assembly.xml</descriptor>
+ </descriptors>
+ </configuration>
+ <executions>
+ <execution>
+ <id>make-assembly</id>
+ <!-- this is used for inheritance merges -->
+ <phase>package</phase>
+ <!-- bind to the packaging phase -->
+ <goals>
+ <goal>single</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
+
</build>
</profile>
</profiles>
Added: branches/4.0.X/ui/dist/richfaces-components-ui/src/main/assembly/vdldoc-assembly.xml
===================================================================
--- branches/4.0.X/ui/dist/richfaces-components-ui/src/main/assembly/vdldoc-assembly.xml (rev 0)
+++ branches/4.0.X/ui/dist/richfaces-components-ui/src/main/assembly/vdldoc-assembly.xml 2011-03-31 19:54:02 UTC (rev 22350)
@@ -0,0 +1,15 @@
+<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
+ <id>vdldocs</id>
+ <formats>
+ <format>jar</format>
+ </formats>
+ <fileSets>
+ <fileSet>
+ <directory>${basedir}/target/vdldoc</directory>
+ <outputDirectory>richfaces-vdl-documentation</outputDirectory>
+ </fileSet>
+ </fileSets>
+
+</assembly>
\ No newline at end of file
Added: branches/4.0.X/ui/dist/richfaces-components-ui/src/main/properties/properties.xml
===================================================================
--- branches/4.0.X/ui/dist/richfaces-components-ui/src/main/properties/properties.xml (rev 0)
+++ branches/4.0.X/ui/dist/richfaces-components-ui/src/main/properties/properties.xml 2011-03-31 19:54:02 UTC (rev 22350)
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<properties>
+ <window-title>VDL Documentation</window-title>
+ <doc-title>Tag Library Documentation Generator - Generated Documentation</doc-title>
+
+ <taglibs>
+ <taglib short-name="a4j">
+ <display-name>Ajax4JSF</display-name>
+ <doc-title>Ajax4JSF VDL Documentation</doc-title>
+ <path>../../../target/taglibs/META-INF/a4j.taglib.xml</path>
+ <description>Represents core Ajax functionality, and page wide Ajax controls and utility components.</description>
+ </taglib>
+ <taglib short-name="rich">
+ <display-name>RichFaces</display-name>
+ <doc-title>RichFaces VDL Documentation</doc-title>
+ <path>../../../target/taglibs/META-INF/rich.taglib.xml</path>
+ <description>Represents self-contained and advanced UI components with out-of-the-box Ajax functionality.</description>
+ </taglib>
+ </taglibs>
+</properties>
\ No newline at end of file
13 years, 9 months
JBoss Rich Faces SVN: r22349 - modules/build/resources/trunk/faces-shade-transformers/src/main/java/org/richfaces/build/shade/resource.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2011-03-31 15:49:00 -0400 (Thu, 31 Mar 2011)
New Revision: 22349
Modified:
modules/build/resources/trunk/faces-shade-transformers/src/main/java/org/richfaces/build/shade/resource/BaseFacesResourceTransformer.java
Log:
https://issues.jboss.org/browse/RF-10601 Update build to generation on profiles
Modified: modules/build/resources/trunk/faces-shade-transformers/src/main/java/org/richfaces/build/shade/resource/BaseFacesResourceTransformer.java
===================================================================
--- modules/build/resources/trunk/faces-shade-transformers/src/main/java/org/richfaces/build/shade/resource/BaseFacesResourceTransformer.java 2011-03-31 19:45:16 UTC (rev 22348)
+++ modules/build/resources/trunk/faces-shade-transformers/src/main/java/org/richfaces/build/shade/resource/BaseFacesResourceTransformer.java 2011-03-31 19:49:00 UTC (rev 22349)
@@ -21,9 +21,7 @@
*/
package org.richfaces.build.shade.resource;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.StringReader;
+import java.io.*;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
@@ -136,19 +134,33 @@
if (namespace.getPrefix().length() == 0) {
continue;
}
-
rootElement.addNamespaceDeclaration(namespace);
}
-
+ outputFilesToSeparateDir(document,resourceName,prettyFormat);
new XMLOutputter(prettyFormat).output(document, jos);
}
+ protected void outputFilesToSeparateDir(Document document, String resourceName, Format format) throws IOException {
+ String targetPath="target/taglibs/";
+ File path = new File(targetPath + META_INF_PATH);
+ path.mkdirs();
+ FileOutputStream outFiles = new FileOutputStream(targetPath+resourceName);
+ try {
+ new XMLOutputter(format).output(document, outFiles);
+ }
+ finally {
+ outFiles.close();
+ }
+
+
+ }
+
protected abstract void processDocument(String resource, Document document, List relocators) throws JDOMException;
protected void resetTransformer() {
namespacesFactory = new NamespacesTracker();
}
-
+
protected String getMetaInfResourceName(String resource) {
if (!resource.startsWith(META_INF_PATH)) {
return null;
13 years, 9 months
JBoss Rich Faces SVN: r22348 - modules/build/resources/trunk/vdl-doc.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2011-03-31 15:45:16 -0400 (Thu, 31 Mar 2011)
New Revision: 22348
Modified:
modules/build/resources/trunk/vdl-doc/pom.xml
Log:
https://issues.jboss.org/browse/RF-10601 Update build to generation on profiles
Modified: modules/build/resources/trunk/vdl-doc/pom.xml
===================================================================
--- modules/build/resources/trunk/vdl-doc/pom.xml 2011-03-31 19:44:04 UTC (rev 22347)
+++ modules/build/resources/trunk/vdl-doc/pom.xml 2011-03-31 19:45:16 UTC (rev 22348)
@@ -5,219 +5,27 @@
<groupId>org.richfaces.build.resources</groupId>
<artifactId>faces-vdl-documentation</artifactId>
<version>1-SNAPSHOT</version>
-
+
<name>RichFaces VDl Documentation</name>
<url>http://richfaces.org</url>
<description>Richfaces Resources for VDL generation</description>
<properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
- <dependencies>
- <dependency>
- <groupId>org.richfaces.ui</groupId>
- <artifactId>richfaces-components-ui</artifactId>
- <version>4.0.0-SNAPSHOT</version>
- </dependency>
- </dependencies>
-
<build>
<!-- To define the plugin version in your parent POM -->
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>xml-maven-plugin</artifactId>
- <version>1.0</version>
- <executions>
- <execution>
- <goals>
- <goal>transform</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <transformationSets>
- <transformationSet>
- <dir>src/main/properties</dir>
- <stylesheet>src/main/xsl/tld-frame.html.xsl</stylesheet>
- <parameters>
- <parameter>
- <name>output-dir</name>
- <value>target/vdldoc</value>
- </parameter>
- </parameters>
- <fileMappers>
- <fileMapper
- implementation="org.codehaus.plexus.components.io.filemappers.RegExpFileMapper">
- <pattern>^(.*)\.(.*)$</pattern>
- <replacement>tld-frame-list.txt</replacement>
- </fileMapper>
- </fileMappers>
- </transformationSet>
- <transformationSet>
- <dir>src/main/properties</dir>
- <stylesheet>src/main/xsl/tld-summary.html.xsl</stylesheet>
- <parameters>
- <parameter>
- <name>output-dir</name>
- <value>target/vdldoc</value>
- </parameter>
- </parameters>
- <fileMappers>
- <fileMapper
- implementation="org.codehaus.plexus.components.io.filemappers.RegExpFileMapper">
- <pattern>^(.*)\.(.*)$</pattern>
- <replacement>tld-summary-list.txt</replacement>
- </fileMapper>
- </fileMappers>
- </transformationSet>
- <transformationSet>
- <dir>src/main/properties</dir>
- <stylesheet>src/main/xsl/tag.html.xsl</stylesheet>
- <parameters>
- <parameter>
- <name>output-dir</name>
- <value>target/vdldoc</value>
- </parameter>
- </parameters>
- <fileMappers>
- <fileMapper
- implementation="org.codehaus.plexus.components.io.filemappers.RegExpFileMapper">
- <pattern>^(.*)\.(.*)$</pattern>
- <replacement>tag-list.txt</replacement>
- </fileMapper>
- </fileMappers>
- </transformationSet>
-
- <transformationSet>
- <dir>src/main/properties</dir>
- <outputDir>${project.build.directory}/vdldoc</outputDir>
- <stylesheet>src/main/xsl/alltags-frame.html.xsl</stylesheet>
- <fileMappers>
- <fileMapper
- implementation="org.codehaus.plexus.components.io.filemappers.RegExpFileMapper">
- <pattern>^(.*)\.(.*)$</pattern>
- <replacement>alltags-frame.html</replacement>
- </fileMapper>
- </fileMappers>
- </transformationSet>
- <transformationSet>
- <dir>src/main/properties</dir>
- <outputDir>${project.build.directory}/vdldoc</outputDir>
- <stylesheet>src/main/xsl/alltags-noframe.html.xsl</stylesheet>
- <fileMappers>
- <fileMapper
- implementation="org.codehaus.plexus.components.io.filemappers.RegExpFileMapper">
- <pattern>^(.*)\.(.*)$</pattern>
- <replacement>alltags-noframe.html</replacement>
- </fileMapper>
- </fileMappers>
- </transformationSet>
- <transformationSet>
- <dir>src/main/properties</dir>
- <outputDir>${project.build.directory}/vdldoc</outputDir>
- <stylesheet>src/main/xsl/index.html.xsl</stylesheet>
- <fileMappers>
- <fileMapper
- implementation="org.codehaus.plexus.components.io.filemappers.RegExpFileMapper">
- <pattern>^(.*)\.(.*)$</pattern>
- <replacement>index.html</replacement>
- </fileMapper>
- </fileMappers>
- </transformationSet>
- <transformationSet>
- <dir>src/main/properties</dir>
- <outputDir>${project.build.directory}/vdldoc</outputDir>
- <stylesheet>src/main/xsl/help-doc.html.xsl</stylesheet>
- <fileMappers>
- <fileMapper
- implementation="org.codehaus.plexus.components.io.filemappers.RegExpFileMapper">
- <pattern>^(.*)\.(.*)$</pattern>
- <replacement>help-doc.html</replacement>
- </fileMapper>
- </fileMappers>
- </transformationSet>
- <transformationSet>
- <dir>src/main/properties</dir>
- <outputDir>${project.build.directory}/vdldoc</outputDir>
- <stylesheet>src/main/xsl/overview-frame.html.xsl</stylesheet>
- <fileMappers>
- <fileMapper
- implementation="org.codehaus.plexus.components.io.filemappers.RegExpFileMapper">
- <pattern>^(.*)\.(.*)$</pattern>
- <replacement>overview-frame.html</replacement>
- </fileMapper>
- </fileMappers>
- </transformationSet>
- <transformationSet>
- <dir>src/main/properties</dir>
- <outputDir>${project.build.directory}/vdldoc</outputDir>
- <stylesheet>src/main/xsl/overview-summary.html.xsl</stylesheet>
- <fileMappers>
- <fileMapper
- implementation="org.codehaus.plexus.components.io.filemappers.RegExpFileMapper">
- <pattern>^(.*)\.(.*)$</pattern>
- <replacement>overview-summary.html</replacement>
- </fileMapper>
- </fileMappers>
- </transformationSet>
- <transformationSet>
- <dir>src/main/properties</dir>
- <stylesheet>src/main/xsl/function.html.xsl</stylesheet>
- <parameters>
- <parameter>
- <name>output-dir</name>
- <value>target/vdldoc/</value>
- </parameter>
- </parameters>
- <fileMappers>
- <fileMapper
- implementation="org.codehaus.plexus.components.io.filemappers.RegExpFileMapper">
- <pattern>^(.*)\.(.*)$</pattern>
- <replacement>function-list.txt</replacement>
- </fileMapper>
- </fileMappers>
- </transformationSet>
-
- </transformationSets>
-
- </configuration>
- <dependencies>
- <dependency>
- <groupId>net.sf.saxon</groupId>
- <artifactId>saxon</artifactId>
- <version>8.7</version>
- </dependency>
-
-
- </dependencies>
- </plugin>
- <plugin>
- <!-- unpack necessary dependencies for collecting jsdoc and javadocs -->
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>deps</id>
- <phase>process-sources</phase>
- <goals>
- <goal>unpack</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <artifactItems>
- <artifactItem>
- <groupId>org.richfaces.ui</groupId>
- <artifactId>richfaces-components-ui</artifactId>
- </artifactItem>
- </artifactItems>
- <includes>**/*.taglib.xml</includes>
- <outputDirectory>${project.build.directory}/taglibs/</outputDirectory>
- </configuration>
- </plugin>
- </plugins>
+ <resources>
+ <resource>
+ <directory>src/main/resources/xsl</directory>
+ <targetPath>xsl</targetPath>
+ </resource>
+ <resource>
+ <directory>src/main/resources/css</directory>
+ <targetPath>css</targetPath>
+ </resource>
+ </resources>
</build>
</project>
13 years, 9 months
JBoss Rich Faces SVN: r22347 - in modules/build/resources/trunk/vdl-doc/src/main: resources and 3 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2011-03-31 15:44:04 -0400 (Thu, 31 Mar 2011)
New Revision: 22347
Added:
modules/build/resources/trunk/vdl-doc/src/main/resources/
modules/build/resources/trunk/vdl-doc/src/main/resources/css/
modules/build/resources/trunk/vdl-doc/src/main/resources/css/stylesheet.css
modules/build/resources/trunk/vdl-doc/src/main/resources/xsl/
modules/build/resources/trunk/vdl-doc/src/main/resources/xsl/alltags.xsl
modules/build/resources/trunk/vdl-doc/src/main/resources/xsl/common.xsl
modules/build/resources/trunk/vdl-doc/src/main/resources/xsl/function.html.xsl
modules/build/resources/trunk/vdl-doc/src/main/resources/xsl/help-doc.html.xsl
modules/build/resources/trunk/vdl-doc/src/main/resources/xsl/index.html.xsl
modules/build/resources/trunk/vdl-doc/src/main/resources/xsl/overview-frame.html.xsl
modules/build/resources/trunk/vdl-doc/src/main/resources/xsl/overview-summary.html.xsl
modules/build/resources/trunk/vdl-doc/src/main/resources/xsl/tag.html.xsl
modules/build/resources/trunk/vdl-doc/src/main/resources/xsl/tld-frame.html.xsl
modules/build/resources/trunk/vdl-doc/src/main/resources/xsl/tld-summary.html.xsl
Removed:
modules/build/resources/trunk/vdl-doc/src/main/properties/
modules/build/resources/trunk/vdl-doc/src/main/xsl/alltags-frame.html.xsl
modules/build/resources/trunk/vdl-doc/src/main/xsl/alltags-noframe.html.xsl
modules/build/resources/trunk/vdl-doc/src/main/xsl/function.html.xsl
modules/build/resources/trunk/vdl-doc/src/main/xsl/help-doc.html.xsl
modules/build/resources/trunk/vdl-doc/src/main/xsl/index.html.xsl
modules/build/resources/trunk/vdl-doc/src/main/xsl/overview-frame.html.xsl
modules/build/resources/trunk/vdl-doc/src/main/xsl/overview-summary.html.xsl
modules/build/resources/trunk/vdl-doc/src/main/xsl/stylesheet.css
modules/build/resources/trunk/vdl-doc/src/main/xsl/tag.html.xsl
modules/build/resources/trunk/vdl-doc/src/main/xsl/tld-frame.html.xsl
modules/build/resources/trunk/vdl-doc/src/main/xsl/tld-summary.html.xsl
Log:
https://issues.jboss.org/browse/RF-10601 Update build to generation on profiles
Added: modules/build/resources/trunk/vdl-doc/src/main/resources/css/stylesheet.css
===================================================================
--- modules/build/resources/trunk/vdl-doc/src/main/resources/css/stylesheet.css (rev 0)
+++ modules/build/resources/trunk/vdl-doc/src/main/resources/css/stylesheet.css 2011-03-31 19:44:04 UTC (rev 22347)
@@ -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;}
+
Added: modules/build/resources/trunk/vdl-doc/src/main/resources/xsl/alltags.xsl
===================================================================
--- modules/build/resources/trunk/vdl-doc/src/main/resources/xsl/alltags.xsl (rev 0)
+++ modules/build/resources/trunk/vdl-doc/src/main/resources/xsl/alltags.xsl 2011-03-31 19:44:04 UTC (rev 22347)
@@ -0,0 +1,167 @@
+<?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>
+ -->
+<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="output-dir" />
+
+ <xsl:template name="alltags" match="/">
+ <xsl:variable name="alltags-frame-filename"
+ select="concat($output-dir,'/alltags-frame.html')"/>
+ <xsl:variable name="alltags-noframe-filename"
+ select="concat($output-dir,'/alltags-noframe.html')"/>
+ <xsl:result-document href="{$alltags-frame-filename}" format="html">
+
+ <html>
+ <head>
+ <title>All Tags / Functions</title>
+ <link rel="stylesheet" type="text/css" href="css/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:for-each select="/properties/taglibs/taglib">
+ <xsl:apply-templates
+ select="document(path)//javaee:tag|document(path)//javaee:function" >
+ <xsl:with-param name="frame">true</xsl:with-param>
+ <xsl:sort select="/javaee:facelet-taglib/@id"/>
+ <xsl:sort select="javaee:tag-name"/>
+ <xsl:sort select="javaee:function-name"/>
+ </xsl:apply-templates>
+ </xsl:for-each>
+ </font></td>
+ </tr>
+ </table>
+ </body>
+ </html>
+
+
+ </xsl:result-document>
+ <xsl:result-document href="{$alltags-noframe-filename}" format="html">
+
+ <html>
+ <head>
+ <title>All Tags / Functions</title>
+ <link rel="stylesheet" type="text/css" href="css/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:for-each select="/properties/taglibs/taglib">
+ <xsl:apply-templates
+ select="document(path)//javaee:tag|document(path)//javaee:function">
+ <xsl:with-param name="frame">false</xsl:with-param>
+ <xsl:sort select="/javaee:facelet-taglib/@id"/>
+ <xsl:sort select="javaee:tag-name"/>
+ <xsl:sort select="javaee:function-name"/>
+ </xsl:apply-templates>
+ </xsl:for-each>
+ </font></td>
+ </tr>
+ </table>
+ </body>
+ </html>
+
+ </xsl:result-document>
+
+ </xsl:template>
+ <xsl:template name="alltag-frame-tag" match="javaee:tag">
+ <xsl:param name="frame">false</xsl:param>
+
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="/javaee:facelet-taglib/@id"/>/<xsl:value-of
+ select="javaee:tag-name"/>.html</xsl:attribute>
+ <xsl:choose>
+ <xsl:when test="$frame='true'">
+ <xsl:attribute name="target">tagFrame</xsl:attribute>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:attribute name="target"></xsl:attribute>
+ </xsl:otherwise>
+ </xsl:choose>
+
+ <xsl:value-of select="/javaee:facelet-taglib/@id"/>:<xsl:value-of select="javaee:tag-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 name="alltag-frame-function" match="javaee:function">
+ <xsl:param name="frame">false</xsl:param>
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="/javaee:facelet-taglib/@id"/>/<xsl:value-of select="javaee:function-name"/>.fn.html</xsl:attribute>
+ <xsl:choose>
+ <xsl:when test="$frame='true'">
+ <xsl:attribute name="target">tagFrame</xsl:attribute>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:attribute name="target"></xsl:attribute>
+ </xsl:otherwise>
+ </xsl:choose>
+ <i><xsl:value-of select="/javaee:facelet-taglib/@id"/>:<xsl:value-of select="javaee:function-name"/>()</i>
+ </xsl:element>
+ <br/>
+
+
+
+ </xsl:template>
+
+
+
+
+</xsl:stylesheet>
\ No newline at end of file
Added: modules/build/resources/trunk/vdl-doc/src/main/resources/xsl/common.xsl
===================================================================
--- modules/build/resources/trunk/vdl-doc/src/main/resources/xsl/common.xsl (rev 0)
+++ modules/build/resources/trunk/vdl-doc/src/main/resources/xsl/common.xsl 2011-03-31 19:44:04 UTC (rev 22347)
@@ -0,0 +1,58 @@
+<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:import href="help-doc.html.xsl" />
+ <xsl:import href="index.html.xsl" />
+ <xsl:import href="overview-frame.html.xsl" />
+ <xsl:import href="overview-summary.html.xsl"/>
+ <xsl:import href="tag.html.xsl" />
+ <xsl:import href="tld-frame.html.xsl" />
+ <xsl:import href="tld-summary.html.xsl" />
+ <xsl:import href="alltags.xsl"/>
+ <xsl:import href="function.html.xsl" />
+
+ <xsl:param name="output-dir" />
+
+ <xsl:variable name="window-title">
+ <xsl:value-of select="properties/window-title"/>
+ </xsl:variable>
+
+ <xsl:template match="/">
+
+ <xsl:call-template name="overview-summary" />
+ <xsl:call-template name="overview-frame"/>
+ <xsl:call-template name="index"/>
+ <xsl:call-template name="help-doc"/>
+ <xsl:call-template name="alltags" />
+ <xsl:for-each select="/properties/taglibs/taglib">
+ <xsl:apply-templates select="document(path)/javaee:facelet-taglib">
+ <xsl:with-param name="display-name" select="display-name"/>
+ <xsl:with-param name="description" select="description"/>
+ <xsl:with-param name="short-name" select="@short-name"/>
+ </xsl:apply-templates>
+ </xsl:for-each>
+ </xsl:template>
+ <xsl:template match="javaee:facelet-taglib">
+ <xsl:param name="display-name"/>
+ <xsl:param name="description"/>
+ <xsl:param name="short-name"/>
+ <xsl:call-template name="tldframe">
+ <xsl:with-param name="display-name" select="$display-name"/>
+ <xsl:with-param name="description" select="$description"/>
+ <xsl:with-param name="short-name" select="$short-name"/>
+ </xsl:call-template>
+ <xsl:call-template name="tldsummary">
+ <xsl:with-param name="display-name" select="$display-name"/>
+ <xsl:with-param name="description" select="$description"/>
+ <xsl:with-param name="short-name" select="$short-name"/>
+ </xsl:call-template>
+ <xsl:call-template name="tag">
+ <!--<xsl:with-param name="display-name" select="display-name" />-->
+ <!--<xsl:with-param name="description" select="description" />-->
+ <xsl:with-param name="short-name" select="$short-name"/>
+ </xsl:call-template>
+ <xsl:call-template name="function-tag" />
+ </xsl:template>
+</xsl:stylesheet>
\ No newline at end of file
Copied: modules/build/resources/trunk/vdl-doc/src/main/resources/xsl/function.html.xsl (from rev 22346, modules/build/resources/trunk/vdl-doc/src/main/xsl/function.html.xsl)
===================================================================
--- modules/build/resources/trunk/vdl-doc/src/main/resources/xsl/function.html.xsl (rev 0)
+++ modules/build/resources/trunk/vdl-doc/src/main/resources/xsl/function.html.xsl 2011-03-31 19:44:04 UTC (rev 22347)
@@ -0,0 +1,373 @@
+<?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="text" indent="no"/>
+ <xsl:output method="html" indent="yes" name="html"/>
+
+ <xsl:param name="output-dir">default</xsl:param>
+ <xsl:variable name="window-title">
+ <xsl:value-of select="properties/window-title"/>
+ </xsl:variable>
+
+ <!-- template rule matching source root element -->
+ <!--<xsl:template match="/">-->
+ <!--<xsl:for-each select="/properties/taglibs/taglib">-->
+ <!--<xsl:apply-templates select="document(path)/javaee:facelet-taglib"/>-->
+ <!--</xsl:for-each>-->
+ <!--</xsl:template>-->
+
+ <xsl:template name="function-tag" match="javaee:facelet-taglib">
+ <xsl:for-each select="//javaee:function">
+ <xsl:variable name="filename"
+ select="concat($output-dir,'/', /javaee:facelet-taglib/@id, '/',javaee:function-name,'.fn.html')"/>
+ <xsl:value-of select="$filename"/>
+ ---
+ <xsl:result-document href="{$filename}" format="html">
+
+ <xsl:variable name="tldname">
+ <xsl:choose>
+ <xsl:when test="display-name!=''">
+ <xsl:value-of select="display-name"/>
+ </xsl:when>
+ <xsl:when test="../@id!=''">
+ <xsl:value-of select="../@id"/>
+ </xsl:when>
+ <xsl:otherwise>
+ Unnamed TLD
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:variable name="title">
+ <xsl:value-of select="javaee:function-name"/>
+ (<xsl:value-of select="$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="../css/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:function-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:function-name"/>
+ </h2>
+ <code>
+ <xsl:value-of select='substring-before(normalize-space(javaee:function-signature)," ")'/>
+ <b> <xsl:value-of select="javaee:function-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:function-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:result-document>
+ </xsl:for-each>
+ </xsl:template>
+
+ <!--<xsl:template name="function-in-detail" match="javaee:function">-->
+ <!---->
+ <!--</xsl:template>-->
+
+</xsl:stylesheet>
Copied: modules/build/resources/trunk/vdl-doc/src/main/resources/xsl/help-doc.html.xsl (from rev 22346, modules/build/resources/trunk/vdl-doc/src/main/xsl/help-doc.html.xsl)
===================================================================
--- modules/build/resources/trunk/vdl-doc/src/main/resources/xsl/help-doc.html.xsl (rev 0)
+++ modules/build/resources/trunk/vdl-doc/src/main/resources/xsl/help-doc.html.xsl 2011-03-31 19:44:04 UTC (rev 22347)
@@ -0,0 +1,244 @@
+<?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"/>
+
+ <xsl:param name="output-dir"/>
+
+ <!-- template rule matching source root element -->
+ <xsl:template name="help-doc" match="/">
+ <xsl:variable name="filename"
+ select="concat($output-dir,'/help-doc.html')"/>
+ <xsl:result-document href="{$filename}" format="html">
+
+ <HTML>
+ <HEAD>
+ <TITLE>
+ API Help (<xsl:value-of select="properties/window-title"/>)
+ </TITLE>
+ <LINK REL ="stylesheet" TYPE="text/css" HREF="css/stylesheet.css" TITLE="Style"/>
+ </HEAD>
+ <SCRIPT>
+ function asd() {
+ parent.document.title="API Help (<xsl:value-of select="normalize-space(properties/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:result-document>
+
+ </xsl:template>
+</xsl:stylesheet>
Copied: modules/build/resources/trunk/vdl-doc/src/main/resources/xsl/index.html.xsl (from rev 22346, modules/build/resources/trunk/vdl-doc/src/main/xsl/index.html.xsl)
===================================================================
--- modules/build/resources/trunk/vdl-doc/src/main/resources/xsl/index.html.xsl (rev 0)
+++ modules/build/resources/trunk/vdl-doc/src/main/resources/xsl/index.html.xsl 2011-03-31 19:44:04 UTC (rev 22347)
@@ -0,0 +1,84 @@
+<?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"/>
+ <xsl:param name="output-dir"/>
+
+ <!-- template rule matching source root element -->
+ <xsl:template name="index" match="/">
+ <xsl:variable name="filename"
+ select="concat($output-dir,'/index.html')"/>
+ <xsl:result-document href="{$filename}" format="html">
+
+ <html>
+ <head>
+ <title>
+ <xsl:value-of select="properties/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:result-document>
+
+
+ </xsl:template>
+</xsl:stylesheet>
Copied: modules/build/resources/trunk/vdl-doc/src/main/resources/xsl/overview-frame.html.xsl (from rev 22346, modules/build/resources/trunk/vdl-doc/src/main/xsl/overview-frame.html.xsl)
===================================================================
--- modules/build/resources/trunk/vdl-doc/src/main/resources/xsl/overview-frame.html.xsl (rev 0)
+++ modules/build/resources/trunk/vdl-doc/src/main/resources/xsl/overview-frame.html.xsl 2011-03-31 19:44:04 UTC (rev 22347)
@@ -0,0 +1,123 @@
+<?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"/>
+ <xsl:param name="output-dir" />
+
+ <!-- template rule matching source root element -->
+ <xsl:template name="overview-frame" match="/">
+ <xsl:variable name="filename"
+ select="concat($output-dir,'/overview-frame.html')"/>
+ <xsl:result-document href="{$filename}" format="html">
+ <html>
+ <head>
+ <title>
+ Overview (<xsl:value-of select="properties/window-title"/>)
+ </title>
+ <link rel="stylesheet" type="text/css" href="css/stylesheet.css" title="Style"/>
+ </head>
+ <script>
+ function asd() {
+ parent.document.title="Overview (<xsl:value-of select="normalize-space(properties/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="properties/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="/properties/taglibs/taglib"/>-->
+ <xsl:for-each select="/properties/taglibs/taglib">
+ <font class="FrameItemFont">
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="@short-name"/>/tld-frame.html</xsl:attribute>
+ <xsl:attribute name="target">tldFrame</xsl:attribute>
+ <xsl:choose>
+ <xsl:when test="display-name!=''">
+ <xsl:value-of select="display-name"/>
+ </xsl:when>
+ <xsl:when test="@short-name!=''">
+ <xsl:value-of select="@short-name"/>
+ </xsl:when>
+ <xsl:otherwise>
+ Unnamed TLD
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:element>
+ </font>
+ <br/>
+ </xsl:for-each>
+ </td>
+ </tr>
+ </table>
+ <p/>
+ </body>
+ </html>
+ </xsl:result-document>
+ </xsl:template>
+
+</xsl:stylesheet>
Copied: modules/build/resources/trunk/vdl-doc/src/main/resources/xsl/overview-summary.html.xsl (from rev 22346, modules/build/resources/trunk/vdl-doc/src/main/xsl/overview-summary.html.xsl)
===================================================================
--- modules/build/resources/trunk/vdl-doc/src/main/resources/xsl/overview-summary.html.xsl (rev 0)
+++ modules/build/resources/trunk/vdl-doc/src/main/resources/xsl/overview-summary.html.xsl 2011-03-31 19:44:04 UTC (rev 22347)
@@ -0,0 +1,215 @@
+<?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 name="overview-summary" match="/">
+ <xsl:variable name="filename"
+ select="concat($output-dir,'/overview-summary.html')"/>
+ <xsl:result-document href="{$filename}" format="html">
+
+ <html>
+ <head>
+ <title>
+ Overview (<xsl:value-of select="properties/window-title"/>)
+ </title>
+ <link rel="stylesheet" type="text/css" href="css/stylesheet.css" title="Style"/>
+ </head>
+ <script>
+ function asd() {
+ parent.document.title="Overview (<xsl:value-of select="normalize-space(properties/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="properties/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="/properties/taglibs/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:result-document>
+
+ </xsl:template>
+
+ <xsl:template match="taglib">
+ <tr BGCOLOR="white" valign="top" CLASS="TableRowColor">
+ <td WIDTH="20%"><b>
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="@short-name"/>/tld-summary.html</xsl:attribute>
+ <xsl:choose>
+ <xsl:when test="display-name!=''">
+ <xsl:value-of select="display-name"/>
+ </xsl:when>
+ <xsl:when test="@short-name!=''">
+ <xsl:value-of select="@short-name"/>
+ </xsl:when>
+ <xsl:otherwise>
+ Unnamed TLD
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:element>
+ </b></td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="description!=''">
+ <pre>
+ <xsl:value-of select="description" disable-output-escaping="yes"/>
+ </pre>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>No Description</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ </xsl:template>
+</xsl:stylesheet>
Copied: modules/build/resources/trunk/vdl-doc/src/main/resources/xsl/tag.html.xsl (from rev 22346, modules/build/resources/trunk/vdl-doc/src/main/xsl/tag.html.xsl)
===================================================================
--- modules/build/resources/trunk/vdl-doc/src/main/resources/xsl/tag.html.xsl (rev 0)
+++ modules/build/resources/trunk/vdl-doc/src/main/resources/xsl/tag.html.xsl 2011-03-31 19:44:04 UTC (rev 22347)
@@ -0,0 +1,533 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright (c) 2003-2004,-2010 Oracle and/or its affiliates. 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 Oracle 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,
+ PROCUREMENT 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.
+
+-->
+
+<!--
+ 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
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+ version="2.0">
+
+ <xsl:output method="html" indent="yes" name="html"/>
+
+ <!--<xsl:param name="output-dir"/>-->
+
+ <!--<xsl:variable name="window-title">-->
+ <!--<xsl:value-of select="properties/window-title"/>-->
+ <!--</xsl:variable>-->
+
+ <!--<xsl:template match="/">-->
+ <!--<xsl:for-each select="/properties/taglibs/taglib">-->
+ <!--<!–<xsl:apply-templates name="tag" select="document(path)/javaee:facelet-taglib"/>–>-->
+ <!--<xsl:call-template name="tag" />-->
+ <!--</xsl:for-each>-->
+ <!--</xsl:template>-->
+
+ <xsl:template name="tag" match="javaee:facelet-taglib">
+ <xsl:param name="short-name" />
+ <xsl:variable name="namespace" select="$short-name"/>
+
+ <xsl:for-each select="//javaee:tag">
+ <xsl:variable name="tagname">
+ <xsl:value-of select="javaee:tag-name"/>
+ </xsl:variable>
+ <xsl:variable name="filename"
+ select="concat($output-dir,'/',$namespace,'/',javaee:tag-name,'.html')"/>
+ <!--<xsl:value-of select="$filename"/>-->
+ <!-- Creating -->
+ <xsl:result-document href="{$filename}" format="html">
+ <!--<xsl:apply-templates select=".">-->
+ <!---->
+ <!--</xsl:apply-templates>-->
+ <xsl:call-template name="tag-in-detail">
+ <xsl:with-param name="namespace" select="$namespace"/>
+ <xsl:with-param name="tagname" select="$tagname"/>
+ </xsl:call-template>
+ </xsl:result-document>
+ </xsl:for-each>
+ </xsl:template>
+
+ <xsl:template name="tag-in-detail" match="javaee:tag">
+ <xsl:param name="namespace"/>
+ <xsl:param name="tagname"/>
+ <xsl:variable name="title">
+ <xsl:value-of select="$tagname"/>
+ (<xsl:value-of select="$window-title"/>)
+ </xsl:variable>
+ <html>
+ <head>
+ <title>
+ <xsl:value-of select="$title"/>
+ </title>
+ <meta name="keywords" content="$tagname"/>
+ <link rel="stylesheet" type="text/css" href="../css/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:tag-name"/>.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="$namespace"/>
+ </font>
+ <br/>
+ Tag
+ <xsl:value-of select="javaee:tag-name"/>
+ </h2>
+ <hr/>
+ <xsl:choose>
+ <xsl:when test="javaee:component">
+
+ <xsl:value-of select="javaee:component/javaee:description" disable-output-escaping="yes"/>
+ <br/>
+ <p/>
+ <hr/>
+
+ <!-- Tag Information -->
+ <table border="1" cellpadding="3" cellspacing="0" width="100%">
+ <tr bgcolor="#CCCCFF" class="TableHeadingColor">
+ <td colspan="2">
+ <font size="+2">
+ <b>Tag Information</b>
+ </font>
+ </td>
+ </tr>
+
+
+ <tr>
+ <td>Component type</td>
+ <td>
+ <xsl:variable name="component-type">
+ <xsl:value-of select="javaee:component/javaee:component-type"/>
+ </xsl:variable>
+ <xsl:choose>
+ <xsl:when test="$component-type!=''">
+ <xsl:value-of select="$component-type"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>None</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ <tr>
+ <td>Tag Name</td>
+ <td>
+ <xsl:variable name="fulltagname" select="concat($namespace,':',$tagname)"/>
+ <xsl:value-of select="$fulltagname"/>
+ </td>
+ </tr>
+ <tr>
+ <td>Renderer Type</td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:component/javaee:renderer-type!=''">
+ <xsl:value-of select="javaee:component/javaee:renderer-type"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>None</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ <tr>
+ <td>Handler Class</td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:component/javaee:handler-class!=''">
+ <xsl:value-of select="javaee:component/javaee:handler-class"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>None</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ </table>
+
+
+ <!--xsl:choose>
+ <xsl:when test="javaee:component/javaee:component-extension/cdk:extension/cdk:facets">
+ <table border="1" cellpadding="3" cellspacing="0" width="100%">
+ <tr bgcolor="#CCCCFF" class="TableHeadingColor">
+ <td colspan="5">
+ <font size="+2">
+ <b>Supported Facets</b>
+ </font>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="5"><xsl:value-of select="javaee:component/javaee:component-extension/cdk:extension/cdk:facets" /></td>
+ </tr>
+ </table>
+ <br/>
+ <p/>
+ </xsl:when>
+ </xsl:choose-->
+
+ </xsl:when>
+ <xsl:when test="javaee:behavior">
+ <xsl:value-of select="javaee:behavior/javaee:description" disable-output-escaping="yes"/>
+ <br/>
+ <p/>
+ <hr/>
+
+ <!-- Tag Information -->
+ <table border="1" cellpadding="3" cellspacing="0" width="100%">
+ <tr bgcolor="#CCCCFF" class="TableHeadingColor">
+ <td colspan="2">
+ <font size="+2">
+ <b>Tag Information</b>
+ </font>
+ </td>
+ </tr>
+
+
+ <tr>
+ <td>Handler Id</td>
+ <td>
+ <xsl:variable name="handler-id">
+ <xsl:value-of select="javaee:behavior/javaee:behavior-id"/>
+ </xsl:variable>
+ <xsl:choose>
+ <xsl:when test="$handler-id!=''">
+ <xsl:value-of select="$handler-id"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>None</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+
+ <tr>
+ <td>Handler Class</td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:behavior/javaee:handler-class!=''">
+ <xsl:value-of select="javaee:behavior/javaee:handler-class"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>None</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ </table>
+ </xsl:when>
+ <xsl:when test="javaee:handler-class">
+ <table border="1" cellpadding="3" cellspacing="0" width="100%">
+ <tr bgcolor="#CCCCFF" class="TableHeadingColor">
+ <td colspan="2">
+ <font size="+2">
+ <b>Tag Information</b>
+ </font>
+ </td>
+ </tr>
+
+ <tr>
+ <td>Handler Class</td>
+ <td>
+ <xsl:value-of select="javaee:handler-class"/>
+ </td>
+ </tr>
+ </table>
+ </xsl:when>
+ </xsl:choose>
+ <br/>
+ <p/>
+
+ <table border="1" cellpadding="3" cellspacing="0" width="100%">
+ <tr bgcolor="#CCCCFF" 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>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>
+ <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:tag-name"/>.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>.
+ </i>
+ </small>
+ </body>
+ </html>
+
+ </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: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:stylesheet>
\ No newline at end of file
Copied: modules/build/resources/trunk/vdl-doc/src/main/resources/xsl/tld-frame.html.xsl (from rev 22346, modules/build/resources/trunk/vdl-doc/src/main/xsl/tld-frame.html.xsl)
===================================================================
--- modules/build/resources/trunk/vdl-doc/src/main/resources/xsl/tld-frame.html.xsl (rev 0)
+++ modules/build/resources/trunk/vdl-doc/src/main/resources/xsl/tld-frame.html.xsl 2011-03-31 19:44:04 UTC (rev 22347)
@@ -0,0 +1,177 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+
+ Copyright (c) 2003-2004,-2010 Oracle and/or its affiliates. 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 Oracle 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,
+ PROCUREMENT 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.
+
+-->
+
+<!--
+ 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" name="html"/>
+
+ <!--<xsl:param name="output-dir" />-->
+ <!--<xsl:variable name="window-title">-->
+ <!--<xsl:value-of select="properties/window-title"/>-->
+ <!--</xsl:variable>-->
+
+
+ <!--<xsl:template match="/">-->
+ <!--<xsl:for-each select="/properties/taglibs/taglib">-->
+ <!--<xsl:apply-templates select="document(path)/javaee:facelet-taglib">-->
+ <!--<xsl:with-param name="display-name" select="display-name" />-->
+ <!--<xsl:with-param name="description" select="description" />-->
+ <!--</xsl:apply-templates>-->
+ <!--</xsl:for-each>-->
+ <!--</xsl:template>-->
+
+ <xsl:template name="tldframe" match="javaee:facelet-taglib">
+ <xsl:param name="display-name" />
+ <xsl:param name="description" />
+ <xsl:param name="short-name" />
+ <xsl:variable name="taglibname">
+ <xsl:choose>
+ <xsl:when test="$display-name!=''">
+ <xsl:value-of select="$display-name"/>
+ </xsl:when>
+ <xsl:otherwise>
+ Unnamed TLD
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:variable name="taglibfull">
+ <xsl:value-of select="$taglibname"/>
+ <xsl:choose>
+ <xsl:when test="$description!=''">
+ (<xsl:value-of select="$description" disable-output-escaping="yes"/>)
+ </xsl:when>
+ <xsl:otherwise>
+ No Description
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:variable name="filename"
+ select="concat($output-dir,'/', $short-name, '/tld-frame.html')"/>
+ <xsl:value-of select="$filename"/>
+
+ <xsl:result-document href="{$filename}" format="html">
+ <html>
+ <head>
+ <title>
+ <xsl:value-of select="$taglibfull"/>
+ </title>
+ <meta name="keywords" content="$taglibname"/>
+ <link rel="stylesheet" type="text/css" href="../css/stylesheet.css"
+ title="Style"/>
+ <script>
+ function asd()
+ {
+ parent.document.title="<xsl:value-of select="normalize-space($taglibfull)"/>";
+ }
+ </script>
+ </head>
+ <body bgcolor="white" onload="asd();">
+ <font size="+1" class="FrameTitleFont">
+ <a href="tld-summary.html" target="tagFrame">
+ <xsl:value-of select="$taglibname"/>
+ </a>
+ </font>
+ <table border="0" width="100%">
+ <xsl:if test="(count(javaee:tag))>0">
+ <tr>
+ <td nowrap="true">
+ <font size="+1" class="FrameHeadingFont">
+ Tags
+ </font> 
+ <font class="FrameItemFont">
+ <!--<xsl:apply-templates select="javaee:tag|javaee:tag-file"/>-->
+ <!--<xsl:apply-templates select="javaee:tag"/>-->
+ <xsl:for-each select="javaee:tag">
+ <br/>
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="javaee:tag-name"/>.html</xsl:attribute>
+ <xsl:attribute name="target">tagFrame</xsl:attribute>
+ <xsl:value-of select="../@id"/>:<xsl:value-of select="javaee:tag-name"/>
+ </xsl:element>
+ </xsl:for-each>
+ </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"/>-->
+ <xsl:for-each select="javaee:function">
+ <br/>
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="javaee:function-name"/>.fn.html</xsl:attribute>
+ <xsl:attribute name="target">tagFrame</xsl:attribute>
+ <i><xsl:value-of select="../@id"/>:<xsl:value-of select="javaee:function-name"/>()</i>
+ </xsl:element>
+
+ </xsl:for-each>
+
+ </font>
+ </td>
+ </tr>
+ </xsl:if>
+
+ </table>
+ <!-- <table ... -->
+ </body>
+ </html>
+ </xsl:result-document>
+ </xsl:template>
+
+ <!--<xsl:template name="tldframe-tag" match="javaee:tag">-->
+ <!---->
+ <!--</xsl:template>-->
+
+ <!--<xsl:template name="tldframe-function" match="javaee:function">-->
+ <!---->
+ <!--</xsl:template>-->
+
+</xsl:stylesheet>
Copied: modules/build/resources/trunk/vdl-doc/src/main/resources/xsl/tld-summary.html.xsl (from rev 22346, modules/build/resources/trunk/vdl-doc/src/main/xsl/tld-summary.html.xsl)
===================================================================
--- modules/build/resources/trunk/vdl-doc/src/main/resources/xsl/tld-summary.html.xsl (rev 0)
+++ modules/build/resources/trunk/vdl-doc/src/main/resources/xsl/tld-summary.html.xsl 2011-03-31 19:44:04 UTC (rev 22347)
@@ -0,0 +1,477 @@
+<?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" name="html"/>
+
+ <xsl:param name="output-dir"/>
+ <xsl:variable name="window-title">
+ <xsl:value-of select="properties/window-title"/>
+ </xsl:variable>
+
+
+
+ <!-- template rule matching source root element -->
+ <!--<xsl:template match="/">-->
+ <!--<xsl:for-each select="/properties/taglibs/taglib">-->
+ <!--<xsl:apply-templates select="document(path)/javaee:facelet-taglib">-->
+ <!--<xsl:with-param name="display-name" select="display-name" />-->
+ <!--<xsl:with-param name="description" select="description" />-->
+ <!--</xsl:apply-templates>-->
+ <!--</xsl:for-each>-->
+ <!--</xsl:template>-->
+
+ <xsl:template name="tldsummary" match="javaee:facelet-taglib">
+ <xsl:param name="display-name" />
+ <xsl:param name="description" />
+ <xsl:param name="short-name" />
+ <xsl:variable name="taglibname">
+ <xsl:choose>
+ <xsl:when test="$display-name!=''">
+ <xsl:value-of select="$display-name"/>
+ </xsl:when>
+ <xsl:otherwise>
+ Unnamed TLD
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:variable name="taglibshortname">
+ <xsl:value-of select="$short-name"/>
+ </xsl:variable>
+ <xsl:variable name="title">
+ <xsl:value-of select="$taglibname"/>
+ (<xsl:value-of select="$description" />)
+ </xsl:variable>
+ <xsl:variable name="filename"
+ select="concat($output-dir,'/', $short-name, '/tld-summary.html')"/>
+ <xsl:value-of select="$filename"/>
+ <xsl:result-document href="{$filename}" format="html">
+ <html>
+ <head>
+ <title>
+ <xsl:value-of select="$title"/>
+ </title>
+ <link rel="stylesheet" type="text/css" href="../css/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="$taglibshortname"/>
+ </h2>
+ <hr/>
+ <xsl:if test="(javaee:namespace!='') and ($taglibshortname!='')">
+ <b>XML Syntax:</b>
+ <br/>
+ <code>
+     
+ <xsl:choose>
+ <xsl:when test='starts-with(javaee:uri,"/WEB-INF/tags")'>
+ <anyxmlelement xmlns:<xsl:value-of
+ select="$taglibshortname"/>="urn:jsptagdir:<xsl:value-of select="javaee:namespace"/>"
+ />
+ <br/>
+ </xsl:when>
+ <xsl:when test='starts-with(javaee:uri,"/")'>
+ <anyxmlelement xmlns:<xsl:value-of
+ select="$taglibshortname"/>="urn:jsptld:<xsl:value-of select="javaee:namespace"/>" />
+ <br/>
+ </xsl:when>
+ <xsl:otherwise>
+ <anyxmlelement xmlns:<xsl:value-of select="$taglibshortname"/>="<xsl:value-of
+ select="javaee:namespace"/>" />
+ <br/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </code>
+ <hr/>
+ </xsl:if>
+ <xsl:choose>
+ <xsl:when test="$description!=''">
+ <pre>
+ <xsl:value-of select="$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="$display-name!=''">
+ <td>
+ <xsl:value-of select="$display-name"/>
+ </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="$taglibshortname!=''">
+ <td>
+ <xsl:value-of select="$taglibshortname"/>
+ </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:namespace!=''">
+ <td>
+ <xsl:value-of select="javaee:namespace"/>
+ </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)) > 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"/>-->
+ <xsl:for-each select="javaee:tag" >
+ <tr bgcolor="white" class="TableRowColor">
+ <td width="15%">
+ <b>
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="javaee:tag-name"/>.html</xsl:attribute>
+ <xsl:value-of select="javaee:tag-name"/>
+ </xsl:element>
+ </b>
+ </td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:component/javaee:description!=''">
+ <xsl:value-of select="javaee:component/javaee:description"
+ disable-output-escaping="yes"/>
+ </xsl:when>
+ <xsl:when test="javaee:behavior/javaee:description!=''">
+ <xsl:value-of select="javaee:behavior/javaee:description"
+ disable-output-escaping="yes"/>
+ </xsl:when>
+
+ <xsl:otherwise>
+ <i>No Description</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+
+ </xsl:for-each>
+
+ </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"/>-->
+ <xsl:for-each select="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:function-name"/>.fn.html</xsl:attribute>
+ <xsl:value-of select="javaee:function-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:for-each>
+ </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:result-document>
+ </xsl:template>
+
+ <!--<xsl:template name="tldsummary-tag" match="javaee:tag">-->
+
+ <!--</xsl:template>-->
+
+ <!--<xsl:template name="tldsummary-function" match="javaee:function">-->
+
+ <!--</xsl:template>-->
+ <!---->
+
+</xsl:stylesheet>
Deleted: modules/build/resources/trunk/vdl-doc/src/main/xsl/alltags-frame.html.xsl
===================================================================
--- modules/build/resources/trunk/vdl-doc/src/main/xsl/alltags-frame.html.xsl 2011-03-31 16:06:42 UTC (rev 22346)
+++ modules/build/resources/trunk/vdl-doc/src/main/xsl/alltags-frame.html.xsl 2011-03-31 19:44:04 UTC (rev 22347)
@@ -1,107 +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:for-each select="/properties/taglibs/taglib">
- <xsl:apply-templates
- select="document(path)//javaee:tag|document(path)//javaee:function">
- <xsl:sort select="/javaee:facelet-taglib/@id"/>
- <xsl:sort select="javaee:tag-name"/>
- <xsl:sort select="javaee:function-name"/>
- </xsl:apply-templates>
- </xsl:for-each>
- </font></td>
- </tr>
- </table>
- </body>
- </html>
- </xsl:template>
-
- <xsl:template match="javaee:tag">
- <xsl:element name="a">
- <xsl:attribute name="href"><xsl:value-of select="/javaee:facelet-taglib/@id"/>/<xsl:value-of select="javaee:tag-name"/>.html</xsl:attribute>
- <xsl:attribute name="target">tagFrame</xsl:attribute>
- <xsl:value-of select="/javaee:facelet-taglib/@id"/>:<xsl:value-of select="javaee:tag-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:facelet-taglib/@id"/>/<xsl:value-of select="javaee:function-name"/>.fn.html</xsl:attribute>
- <xsl:attribute name="target">tagFrame</xsl:attribute>
- <i><xsl:value-of select="/javaee:facelet-taglib/@id"/>:<xsl:value-of select="javaee:function-name"/>()</i>
- </xsl:element>
- <br/>
- </xsl:template>
-
-</xsl:stylesheet>
Deleted: modules/build/resources/trunk/vdl-doc/src/main/xsl/alltags-noframe.html.xsl
===================================================================
--- modules/build/resources/trunk/vdl-doc/src/main/xsl/alltags-noframe.html.xsl 2011-03-31 16:06:42 UTC (rev 22346)
+++ modules/build/resources/trunk/vdl-doc/src/main/xsl/alltags-noframe.html.xsl 2011-03-31 19:44:04 UTC (rev 22347)
@@ -1,105 +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:for-each select="/properties/taglibs/taglib">
- <xsl:apply-templates
- select="document(path)//javaee:tag|document(path)//javaee:function">
- <xsl:sort select="/javaee:facelet-taglib/@id"/>
- <xsl:sort select="javaee:tag-name"/>
- <xsl:sort select="javaee:function-name"/>
- </xsl:apply-templates>
- </xsl:for-each>
- </font></td>
- </tr>
- </table>
- </body>
- </html>
- </xsl:template>
-
- <xsl:template match="javaee:tag">
- <xsl:element name="a">
- <xsl:attribute name="href"><xsl:value-of select="/javaee:facelet-taglib/@id"/>/<xsl:value-of select="javaee:tag-name"/>.html</xsl:attribute>
- <xsl:attribute name="target"></xsl:attribute>
- <xsl:value-of select="/javaee:facelet-taglib/@id"/>:<xsl:value-of select="javaee:tag-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:facelet-taglib/@id"/>/<xsl:value-of select="javaee:function-name"/>.fn.html</xsl:attribute>
- <xsl:attribute name="target"></xsl:attribute>
- <i><xsl:value-of select="/javaee:facelet-taglib/@id"/>:<xsl:value-of select="javaee:function-name"/>()</i></xsl:element>
- <br/>
- </xsl:template>
-
-</xsl:stylesheet>
Deleted: modules/build/resources/trunk/vdl-doc/src/main/xsl/function.html.xsl
===================================================================
--- modules/build/resources/trunk/vdl-doc/src/main/xsl/function.html.xsl 2011-03-31 16:06:42 UTC (rev 22346)
+++ modules/build/resources/trunk/vdl-doc/src/main/xsl/function.html.xsl 2011-03-31 19:44:04 UTC (rev 22347)
@@ -1,371 +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="text" indent="no"/>
- <xsl:output method="html" indent="yes" name="html"/>
-
- <xsl:param name="output-dir">default</xsl:param>
- <xsl:variable name="window-title">
- <xsl:value-of select="properties/window-title"/>
- </xsl:variable>
-
- <!-- template rule matching source root element -->
- <xsl:template match="/">
- <xsl:for-each select="/properties/taglibs/taglib">
- <xsl:apply-templates select="document(path)/javaee:facelet-taglib"/>
- </xsl:for-each>
- </xsl:template>
-
- <xsl:template match="javaee:facelet-taglib">
- <xsl:for-each select="//javaee:function">
- <xsl:variable name="filename"
- select="concat($output-dir,'/', /javaee:facelet-taglib/@id, '/',javaee:function-name,'.fn.html')"/>
- <xsl:value-of select="$filename"/>
- ---
- <xsl:result-document href="{$filename}" format="html">
- <xsl:apply-templates select="."/>
- </xsl:result-document>
- </xsl:for-each>
- </xsl:template>
-
- <xsl:template match="javaee:function">
- <xsl:variable name="tldname">
- <xsl:choose>
- <xsl:when test="display-name!=''">
- <xsl:value-of select="display-name"/>
- </xsl:when>
- <xsl:when test="../@id!=''">
- <xsl:value-of select="../@id"/>
- </xsl:when>
- <xsl:otherwise>
- Unnamed TLD
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
- <xsl:variable name="title">
- <xsl:value-of select="javaee:function-name"/>
- (<xsl:value-of select="$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:function-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:function-name"/>
- </h2>
- <code>
- <xsl:value-of select='substring-before(normalize-space(javaee:function-signature)," ")'/>
- <b> <xsl:value-of select="javaee:function-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:function-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:template>
-
-</xsl:stylesheet>
Deleted: modules/build/resources/trunk/vdl-doc/src/main/xsl/help-doc.html.xsl
===================================================================
--- modules/build/resources/trunk/vdl-doc/src/main/xsl/help-doc.html.xsl 2011-03-31 16:06:42 UTC (rev 22346)
+++ modules/build/resources/trunk/vdl-doc/src/main/xsl/help-doc.html.xsl 2011-03-31 19:44:04 UTC (rev 22347)
@@ -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="properties/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(properties/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: modules/build/resources/trunk/vdl-doc/src/main/xsl/index.html.xsl
===================================================================
--- modules/build/resources/trunk/vdl-doc/src/main/xsl/index.html.xsl 2011-03-31 16:06:42 UTC (rev 22346)
+++ modules/build/resources/trunk/vdl-doc/src/main/xsl/index.html.xsl 2011-03-31 19:44:04 UTC (rev 22347)
@@ -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="properties/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: modules/build/resources/trunk/vdl-doc/src/main/xsl/overview-frame.html.xsl
===================================================================
--- modules/build/resources/trunk/vdl-doc/src/main/xsl/overview-frame.html.xsl 2011-03-31 16:06:42 UTC (rev 22346)
+++ modules/build/resources/trunk/vdl-doc/src/main/xsl/overview-frame.html.xsl 2011-03-31 19:44:04 UTC (rev 22347)
@@ -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="properties/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(properties/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="properties/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="/properties/taglibs/taglib"/>
- </td>
- </tr>
- </table>
- <p/>
- </body>
- </html>
- </xsl:template>
-
- <xsl:template match="taglib">
- <font class="FrameItemFont">
- <xsl:element name="a">
- <xsl:attribute name="href"><xsl:value-of select="@short-name"/>/tld-frame.html</xsl:attribute>
- <xsl:attribute name="target">tldFrame</xsl:attribute>
- <xsl:choose>
- <xsl:when test="display-name!=''">
- <xsl:value-of select="display-name"/>
- </xsl:when>
- <xsl:when test="@short-name!=''">
- <xsl:value-of select="@short-name"/>
- </xsl:when>
- <xsl:otherwise>
- Unnamed TLD
- </xsl:otherwise>
- </xsl:choose>
- </xsl:element>
- </font>
- <br/>
- </xsl:template>
-</xsl:stylesheet>
Deleted: modules/build/resources/trunk/vdl-doc/src/main/xsl/overview-summary.html.xsl
===================================================================
--- modules/build/resources/trunk/vdl-doc/src/main/xsl/overview-summary.html.xsl 2011-03-31 16:06:42 UTC (rev 22346)
+++ modules/build/resources/trunk/vdl-doc/src/main/xsl/overview-summary.html.xsl 2011-03-31 19:44:04 UTC (rev 22347)
@@ -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="properties/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(properties/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="properties/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="/properties/taglibs/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="taglib">
- <tr BGCOLOR="white" valign="top" CLASS="TableRowColor">
- <td WIDTH="20%"><b>
- <xsl:element name="a">
- <xsl:attribute name="href"><xsl:value-of select="@short-name"/>/tld-summary.html</xsl:attribute>
- <xsl:choose>
- <xsl:when test="display-name!=''">
- <xsl:value-of select="display-name"/>
- </xsl:when>
- <xsl:when test="@short-name!=''">
- <xsl:value-of select="@short-name"/>
- </xsl:when>
- <xsl:otherwise>
- Unnamed TLD
- </xsl:otherwise>
- </xsl:choose>
- </xsl:element>
- </b></td>
- <td>
- <xsl:choose>
- <xsl:when test="description!=''">
- <pre>
- <xsl:value-of select="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: modules/build/resources/trunk/vdl-doc/src/main/xsl/stylesheet.css
===================================================================
--- modules/build/resources/trunk/vdl-doc/src/main/xsl/stylesheet.css 2011-03-31 16:06:42 UTC (rev 22346)
+++ modules/build/resources/trunk/vdl-doc/src/main/xsl/stylesheet.css 2011-03-31 19:44:04 UTC (rev 22347)
@@ -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: modules/build/resources/trunk/vdl-doc/src/main/xsl/tag.html.xsl
===================================================================
--- modules/build/resources/trunk/vdl-doc/src/main/xsl/tag.html.xsl 2011-03-31 16:06:42 UTC (rev 22346)
+++ modules/build/resources/trunk/vdl-doc/src/main/xsl/tag.html.xsl 2011-03-31 19:44:04 UTC (rev 22347)
@@ -1,530 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Copyright (c) 2003-2004,-2010 Oracle and/or its affiliates. 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 Oracle 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,
- PROCUREMENT 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.
-
--->
-
-<!--
- 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
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:javaee="http://java.sun.com/xml/ns/javaee"
- version="2.0">
-
- <xsl:output method="html" indent="yes" name="html"/>
-
- <xsl:param name="output-dir"/>
-
- <xsl:variable name="window-title">
- <xsl:value-of select="properties/window-title"/>
- </xsl:variable>
-
- <xsl:template match="/">
- <xsl:for-each select="/properties/taglibs/taglib">
- <xsl:apply-templates select="document(path)/javaee:facelet-taglib"/>
- </xsl:for-each>
- </xsl:template>
-
- <xsl:template match="javaee:facelet-taglib">
-
- <xsl:variable name="namespace" select="/javaee:facelet-taglib/@id"/>
-
- <xsl:for-each select="//javaee:tag">
- <xsl:variable name="tagname">
- <xsl:value-of select="javaee:tag-name"/>
- </xsl:variable>
- <xsl:variable name="filename"
- select="concat($output-dir,'/',$namespace,'/',javaee:tag-name,'.html')"/>
- <!--<xsl:value-of select="$filename"/>-->
- <!-- Creating -->
- <xsl:result-document href="{$filename}" format="html">
- <xsl:apply-templates select=".">
- <xsl:with-param name="namespace" select="$namespace"/>
- <xsl:with-param name="tagname" select="$tagname"/>
- </xsl:apply-templates>
- </xsl:result-document>
- </xsl:for-each>
- </xsl:template>
-
- <xsl:template match="javaee:tag">
- <xsl:param name="namespace"/>
- <xsl:param name="tagname"/>
- <xsl:variable name="title">
- <xsl:value-of select="$tagname"/>
- (<xsl:value-of select="$window-title"/>)
- </xsl:variable>
- <html>
- <head>
- <title>
- <xsl:value-of select="$title"/>
- </title>
- <meta name="keywords" content="$tagname"/>
- <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:tag-name"/>.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="$namespace"/>
- </font>
- <br/>
- Tag
- <xsl:value-of select="javaee:tag-name"/>
- </h2>
- <hr/>
- <xsl:choose>
- <xsl:when test="javaee:component">
-
- <xsl:value-of select="javaee:component/javaee:description" disable-output-escaping="yes"/>
- <br/>
- <p/>
- <hr/>
-
- <!-- Tag Information -->
- <table border="1" cellpadding="3" cellspacing="0" width="100%">
- <tr bgcolor="#CCCCFF" class="TableHeadingColor">
- <td colspan="2">
- <font size="+2">
- <b>Tag Information</b>
- </font>
- </td>
- </tr>
-
-
- <tr>
- <td>Component type</td>
- <td>
- <xsl:variable name="component-type">
- <xsl:value-of select="javaee:component/javaee:component-type"/>
- </xsl:variable>
- <xsl:choose>
- <xsl:when test="$component-type!=''">
- <xsl:value-of select="$component-type"/>
- </xsl:when>
- <xsl:otherwise>
- <i>None</i>
- </xsl:otherwise>
- </xsl:choose>
- </td>
- </tr>
- <tr>
- <td>Tag Name</td>
- <td>
- <xsl:variable name="fulltagname" select="concat($namespace,':',$tagname)"/>
- <xsl:value-of select="$fulltagname"/>
- </td>
- </tr>
- <tr>
- <td>Renderer Type</td>
- <td>
- <xsl:choose>
- <xsl:when test="javaee:component/javaee:renderer-type!=''">
- <xsl:value-of select="javaee:component/javaee:renderer-type"/>
- </xsl:when>
- <xsl:otherwise>
- <i>None</i>
- </xsl:otherwise>
- </xsl:choose>
- </td>
- </tr>
- <tr>
- <td>Handler Class</td>
- <td>
- <xsl:choose>
- <xsl:when test="javaee:component/javaee:handler-class!=''">
- <xsl:value-of select="javaee:component/javaee:handler-class"/>
- </xsl:when>
- <xsl:otherwise>
- <i>None</i>
- </xsl:otherwise>
- </xsl:choose>
- </td>
- </tr>
- </table>
-
-
- <!--xsl:choose>
- <xsl:when test="javaee:component/javaee:component-extension/cdk:extension/cdk:facets">
- <table border="1" cellpadding="3" cellspacing="0" width="100%">
- <tr bgcolor="#CCCCFF" class="TableHeadingColor">
- <td colspan="5">
- <font size="+2">
- <b>Supported Facets</b>
- </font>
- </td>
- </tr>
- <tr>
- <td colspan="5"><xsl:value-of select="javaee:component/javaee:component-extension/cdk:extension/cdk:facets" /></td>
- </tr>
- </table>
- <br/>
- <p/>
- </xsl:when>
- </xsl:choose-->
-
- </xsl:when>
- <xsl:when test="javaee:behavior">
- <xsl:value-of select="javaee:behavior/javaee:description" disable-output-escaping="yes"/>
- <br/>
- <p/>
- <hr/>
-
- <!-- Tag Information -->
- <table border="1" cellpadding="3" cellspacing="0" width="100%">
- <tr bgcolor="#CCCCFF" class="TableHeadingColor">
- <td colspan="2">
- <font size="+2">
- <b>Tag Information</b>
- </font>
- </td>
- </tr>
-
-
- <tr>
- <td>Handler Id</td>
- <td>
- <xsl:variable name="handler-id">
- <xsl:value-of select="javaee:behavior/javaee:behavior-id"/>
- </xsl:variable>
- <xsl:choose>
- <xsl:when test="$handler-id!=''">
- <xsl:value-of select="$handler-id"/>
- </xsl:when>
- <xsl:otherwise>
- <i>None</i>
- </xsl:otherwise>
- </xsl:choose>
- </td>
- </tr>
-
- <tr>
- <td>Handler Class</td>
- <td>
- <xsl:choose>
- <xsl:when test="javaee:behavior/javaee:handler-class!=''">
- <xsl:value-of select="javaee:behavior/javaee:handler-class"/>
- </xsl:when>
- <xsl:otherwise>
- <i>None</i>
- </xsl:otherwise>
- </xsl:choose>
- </td>
- </tr>
- </table>
- </xsl:when>
- <xsl:when test="javaee:handler-class">
- <table border="1" cellpadding="3" cellspacing="0" width="100%">
- <tr bgcolor="#CCCCFF" class="TableHeadingColor">
- <td colspan="2">
- <font size="+2">
- <b>Tag Information</b>
- </font>
- </td>
- </tr>
-
- <tr>
- <td>Handler Class</td>
- <td>
- <xsl:value-of select="javaee:handler-class"/>
- </td>
- </tr>
- </table>
- </xsl:when>
- </xsl:choose>
- <br/>
- <p/>
-
- <table border="1" cellpadding="3" cellspacing="0" width="100%">
- <tr bgcolor="#CCCCFF" 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>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>
- <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:tag-name"/>.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>.
- </i>
- </small>
- </body>
- </html>
-
- </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: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:stylesheet>
\ No newline at end of file
Deleted: modules/build/resources/trunk/vdl-doc/src/main/xsl/tld-frame.html.xsl
===================================================================
--- modules/build/resources/trunk/vdl-doc/src/main/xsl/tld-frame.html.xsl 2011-03-31 16:06:42 UTC (rev 22346)
+++ modules/build/resources/trunk/vdl-doc/src/main/xsl/tld-frame.html.xsl 2011-03-31 19:44:04 UTC (rev 22347)
@@ -1,168 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!--
-
- Copyright (c) 2003-2004,-2010 Oracle and/or its affiliates. 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 Oracle 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,
- PROCUREMENT 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.
-
--->
-
-<!--
- 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" name="html"/>
-
- <xsl:param name="output-dir" />
- <xsl:variable name="window-title">
- <xsl:value-of select="properties/window-title"/>
- </xsl:variable>
-
-
- <xsl:template match="/">
- <xsl:for-each select="/properties/taglibs/taglib">
- <xsl:apply-templates select="document(path)/javaee:facelet-taglib">
- <xsl:with-param name="display-name" select="display-name" />
- <xsl:with-param name="description" select="description" />
- </xsl:apply-templates>
- </xsl:for-each>
- </xsl:template>
-
- <xsl:template match="javaee:facelet-taglib">
- <xsl:param name="display-name" />
- <xsl:param name="description" />
- <xsl:variable name="taglibname">
- <xsl:choose>
- <xsl:when test="$display-name!=''">
- <xsl:value-of select="$display-name"/>
- </xsl:when>
- <xsl:otherwise>
- Unnamed TLD
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
- <xsl:variable name="taglibfull">
- <xsl:value-of select="$taglibname"/>
- <xsl:choose>
- <xsl:when test="$description!=''">
- (<xsl:value-of select="$description" disable-output-escaping="yes"/>)
- </xsl:when>
- <xsl:otherwise>
- No Description
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
- <xsl:variable name="filename"
- select="concat($output-dir,'/', @id, '/tld-frame.html')"/>
- <xsl:value-of select="$filename"/>
-
- <xsl:result-document href="{$filename}" format="html">
- <html>
- <head>
- <title>
- <xsl:value-of select="$taglibfull"/>
- </title>
- <meta name="keywords" content="$taglibname"/>
- <link rel="stylesheet" type="text/css" href="../stylesheet.css"
- title="Style"/>
- <script>
- function asd()
- {
- parent.document.title="<xsl:value-of select="normalize-space($taglibfull)"/>";
- }
- </script>
- </head>
- <body bgcolor="white" onload="asd();">
- <font size="+1" class="FrameTitleFont">
- <a href="tld-summary.html" target="tagFrame">
- <xsl:value-of select="$taglibname"/>
- </a>
- </font>
- <table border="0" width="100%">
- <xsl:if test="(count(javaee:tag))>0">
- <tr>
- <td nowrap="true">
- <font size="+1" class="FrameHeadingFont">
- Tags
- </font> 
- <font class="FrameItemFont">
- <!--<xsl:apply-templates select="javaee:tag|javaee:tag-file"/>-->
- <xsl:apply-templates select="javaee:tag"/>
- </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>
-
- </table>
- <!-- <table ... -->
- </body>
- </html>
- </xsl:result-document>
- </xsl:template>
-
- <xsl:template match="javaee:tag">
- <br/>
- <xsl:element name="a">
- <xsl:attribute name="href"><xsl:value-of select="javaee:tag-name"/>.html</xsl:attribute>
- <xsl:attribute name="target">tagFrame</xsl:attribute>
- <xsl:value-of select="../@id"/>:<xsl:value-of select="javaee:tag-name"/>
- </xsl:element>
- </xsl:template>
-
- <xsl:template match="javaee:function">
- <br/>
- <xsl:element name="a">
- <xsl:attribute name="href"><xsl:value-of select="javaee:function-name"/>.fn.html</xsl:attribute>
- <xsl:attribute name="target">tagFrame</xsl:attribute>
- <i><xsl:value-of select="../@id"/>:<xsl:value-of select="javaee:function-name"/>()</i>
- </xsl:element>
- </xsl:template>
-
-</xsl:stylesheet>
Deleted: modules/build/resources/trunk/vdl-doc/src/main/xsl/tld-summary.html.xsl
===================================================================
--- modules/build/resources/trunk/vdl-doc/src/main/xsl/tld-summary.html.xsl 2011-03-31 16:06:42 UTC (rev 22346)
+++ modules/build/resources/trunk/vdl-doc/src/main/xsl/tld-summary.html.xsl 2011-03-31 19:44:04 UTC (rev 22347)
@@ -1,458 +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" name="html"/>
-
- <xsl:param name="output-dir"/>
- <xsl:variable name="window-title">
- <xsl:value-of select="properties/window-title"/>
- </xsl:variable>
-
-
-
- <!-- template rule matching source root element -->
- <xsl:template match="/">
- <xsl:for-each select="/properties/taglibs/taglib">
- <xsl:apply-templates select="document(path)/javaee:facelet-taglib">
- <xsl:with-param name="display-name" select="display-name" />
- <xsl:with-param name="description" select="description" />
- </xsl:apply-templates>
- </xsl:for-each>
- </xsl:template>
-
- <xsl:template match="javaee:facelet-taglib">
- <xsl:param name="display-name" />
- <xsl:param name="description" />
- <xsl:variable name="taglibname">
- <xsl:choose>
- <xsl:when test="$display-name!=''">
- <xsl:value-of select="$display-name"/>
- </xsl:when>
- <xsl:otherwise>
- Unnamed TLD
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
- <xsl:variable name="taglibshortname">
- <xsl:value-of select="@id"/>
- </xsl:variable>
- <xsl:variable name="title">
- <xsl:value-of select="$taglibname"/>
- (<xsl:value-of select="$description" />)
- </xsl:variable>
- <xsl:variable name="filename"
- select="concat($output-dir,'/', @id, '/tld-summary.html')"/>
- <xsl:value-of select="$filename"/>
- <xsl:result-document href="{$filename}" format="html">
- <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="$taglibshortname"/>
- </h2>
- <hr/>
- <xsl:if test="(javaee:namespace!='') and ($taglibshortname!='')">
- <b>XML Syntax:</b>
- <br/>
- <code>
-     
- <xsl:choose>
- <xsl:when test='starts-with(javaee:uri,"/WEB-INF/tags")'>
- <anyxmlelement xmlns:<xsl:value-of
- select="$taglibshortname"/>="urn:jsptagdir:<xsl:value-of select="javaee:namespace"/>"
- />
- <br/>
- </xsl:when>
- <xsl:when test='starts-with(javaee:uri,"/")'>
- <anyxmlelement xmlns:<xsl:value-of
- select="$taglibshortname"/>="urn:jsptld:<xsl:value-of select="javaee:namespace"/>" />
- <br/>
- </xsl:when>
- <xsl:otherwise>
- <anyxmlelement xmlns:<xsl:value-of select="$taglibshortname"/>="<xsl:value-of
- select="javaee:namespace"/>" />
- <br/>
- </xsl:otherwise>
- </xsl:choose>
- </code>
- <hr/>
- </xsl:if>
- <xsl:choose>
- <xsl:when test="$description!=''">
- <pre>
- <xsl:value-of select="$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="$display-name!=''">
- <td>
- <xsl:value-of select="$display-name"/>
- </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="$taglibshortname!=''">
- <td>
- <xsl:value-of select="$taglibshortname"/>
- </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:namespace!=''">
- <td>
- <xsl:value-of select="javaee:namespace"/>
- </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)) > 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"/>
- </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>
- <!-- 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:result-document>
- </xsl:template>
-
- <xsl:template match="javaee:tag">
- <tr bgcolor="white" class="TableRowColor">
- <td width="15%">
- <b>
- <xsl:element name="a">
- <xsl:attribute name="href"><xsl:value-of select="javaee:tag-name"/>.html</xsl:attribute>
- <xsl:value-of select="javaee:tag-name"/>
- </xsl:element>
- </b>
- </td>
- <td>
- <xsl:choose>
- <xsl:when test="javaee:component/javaee:description!=''">
- <xsl:value-of select="javaee:component/javaee:description" disable-output-escaping="yes"/>
- </xsl:when>
- <xsl:when test="javaee:behavior/javaee:description!=''">
- <xsl:value-of select="javaee:behavior/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:function-name"/>.fn.html</xsl:attribute>
- <xsl:value-of select="javaee:function-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:stylesheet>
13 years, 9 months
JBoss Rich Faces SVN: r22346 - in modules/tests/metamer/trunk/application/src/main: webapp/components/richDataGrid and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: ppitonak(a)redhat.com
Date: 2011-03-31 12:06:42 -0400 (Thu, 31 Mar 2011)
New Revision: 22346
Added:
modules/tests/metamer/trunk/application/src/main/webapp/components/richDataGrid/facets.xhtml
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichDataGridBean.java
modules/tests/metamer/trunk/application/src/main/webapp/components/richDataGrid/list.xhtml
Log:
https://issues.jboss.org/browse/RFPL-741
added facets page for rich:dataGrid
Modified: modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichDataGridBean.java
===================================================================
--- modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichDataGridBean.java 2011-03-31 15:27:03 UTC (rev 22345)
+++ modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichDataGridBean.java 2011-03-31 16:06:42 UTC (rev 22346)
@@ -22,6 +22,8 @@
package org.richfaces.tests.metamer.bean;
import java.io.Serializable;
+import java.util.HashMap;
+import java.util.Map;
import javax.annotation.PostConstruct;
import javax.faces.bean.ManagedBean;
@@ -48,6 +50,7 @@
// true = model, false = empty table
private boolean state = true;
private int page = 1;
+ private Map<String, String> facets = new HashMap<String, String>();
/**
* Initializes the managed bean.
@@ -70,6 +73,12 @@
attributes.remove("iterationStatusVar");
attributes.remove("rowKeyVar");
attributes.remove("stateVar");
+
+ // facets initial values
+ facets.put("noData", "There is no data.");
+ facets.put("caption", "Caption");
+ facets.put("header", "Header");
+ facets.put("footer", "Footer");
}
public Attributes getAttributes() {
@@ -95,4 +104,12 @@
public void setPage(int page) {
this.page = page;
}
+
+ public Map<String, String> getFacets() {
+ return facets;
+ }
+
+ public void setFacets(Map<String, String> facets) {
+ this.facets = facets;
+ }
}
Added: modules/tests/metamer/trunk/application/src/main/webapp/components/richDataGrid/facets.xhtml
===================================================================
--- modules/tests/metamer/trunk/application/src/main/webapp/components/richDataGrid/facets.xhtml (rev 0)
+++ modules/tests/metamer/trunk/application/src/main/webapp/components/richDataGrid/facets.xhtml 2011-03-31 16:06:42 UTC (rev 22346)
@@ -0,0 +1,114 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:metamer="http://java.sun.com/jsf/composite/metamer" xmlns:rich="http://richfaces.org/rich">
+
+ <!--
+JBoss, Home of Professional Open Source
+Copyright 2010-2011, Red Hat, Inc. and individual contributors
+by the @authors tag. See the copyright.txt in the distribution for a
+full listing of individual contributors.
+
+This is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as
+published by the Free Software Foundation; either version 2.1 of
+the License, or (at your option) any later version.
+
+This software is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+Lesser General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public
+License along with this software; if not, write to the Free
+Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ -->
+
+ <ui:composition template="/templates/template.xhtml">
+ <ui:param name="componentId" value="richDataGrid" />
+
+ <ui:define name="view">
+ <f:metadata>
+ <f:viewParam name="templates" value="#{templateBean.templates}">
+ <f:converter converterId="templatesListConverter" />
+ </f:viewParam>
+ </f:metadata>
+ </ui:define>
+
+ <ui:define name="head">
+ <h:outputStylesheet library="css" name="richDataGrid.css" />
+ </ui:define>
+
+ <ui:define name="component">
+ <h:panelGroup layout="div">
+ <h:outputText value="Show data in table: " />
+ <h:selectBooleanCheckbox id="noDataCheckbox" value="#{richDataGridBean.state}">
+ <a4j:ajax render="#{nestedComponentId}"/>
+ </h:selectBooleanCheckbox>
+ </h:panelGroup>
+
+ <rich:dataGrid id="richDataGrid"
+ columns="#{richDataGridBean.attributes['columns'].value}"
+ first="#{richDataGridBean.attributes['first'].value}"
+ elements="#{richDataGridBean.attributes['elements'].value}"
+ keepSaved="#{richDataGridBean.attributes['keepSaved'].value}"
+ rendered="#{richDataGridBean.attributes['rendered'].value}"
+ style="#{richDataGridBean.attributes['style'].value}"
+ styleClass="#{richDataGridBean.attributes['styleClass'].value}"
+ title="#{richDataGridBean.attributes['title'].value}"
+ value="#{richDataGridBean.state ? model.capitals : null}"
+ var="record">
+
+ <f:facet name="noData">
+ <h:outputText id="noData" value="#{richDataGridBean.facets['noData']}" style="color: red;"
+ rendered="#{not empty richDataGridBean.facets['noData']}"/>
+ </f:facet>
+
+ <f:facet name="caption">
+ <h:outputText id="caption" value="#{richDataGridBean.facets['caption']}"
+ rendered="#{not empty richDataGridBean.facets['caption']}"/>
+ </f:facet>
+
+ <f:facet name="header">
+ <h:outputText id="header" value="#{richDataGridBean.facets['header']}"
+ rendered="#{not empty richDataGridBean.facets['header']}" />
+ </f:facet>
+
+ <f:facet name="footer">
+ <h:outputText id="footer" value="#{richDataGridBean.facets['footer']}"
+ rendered="#{not empty richDataGridBean.facets['footer']}" />
+ </f:facet>
+
+ <h:outputText value="#{record.state}" style="font-weight: bold;" />
+ <br />
+ <h:outputText value="#{record.name}" />
+
+ </rich:dataGrid>
+ </ui:define>
+
+ <ui:define name="outOfTemplateAfter">
+ <a4j:ajax render="#{nestedComponentId}">
+ <h:panelGrid columns="2">
+ <h:outputLabel value="No Data Facet: " />
+ <h:inputText id="noDataInput" value="#{richDataGridBean.facets['noData']}" />
+
+ <h:outputLabel value="Caption Facet: " />
+ <h:inputText id="captionInput" value="#{richDataGridBean.facets['caption']}" />
+
+ <h:outputLabel value="Header Facet:" />
+ <h:inputText id="headerInput" value="#{richDataGridBean.facets['header']}" />
+
+ <h:outputLabel value="Footer Facet:" />
+ <h:inputText id="footerInput" value="#{richDataGridBean.facets['footer']}" />
+ </h:panelGrid>
+ </a4j:ajax>
+
+ <br/><br/>
+
+ <metamer:attributes value="#{richDataGridBean.attributes}" id="attributes" />
+ </ui:define>
+
+ </ui:composition>
+</html>
\ No newline at end of file
Modified: modules/tests/metamer/trunk/application/src/main/webapp/components/richDataGrid/list.xhtml
===================================================================
--- modules/tests/metamer/trunk/application/src/main/webapp/components/richDataGrid/list.xhtml 2011-03-31 15:27:03 UTC (rev 22345)
+++ modules/tests/metamer/trunk/application/src/main/webapp/components/richDataGrid/list.xhtml 2011-03-31 16:06:42 UTC (rev 22346)
@@ -36,6 +36,10 @@
input boxes for all its attributes.
</metamer:testPageLink>
+ <metamer:testPageLink id="facets" outcome="facets" value="Facets">
+ Page for testing of facets.
+ </metamer:testPageLink>
+
<metamer:testPageLink id="scroller" outcome="scroller" value="Data Scroller">
Page that contains <b>rich:dataGrid</b> (with model containing capitals), data
scroller and input boxes for all its attributes.
13 years, 9 months
JBoss Rich Faces SVN: r22345 - in trunk/examples/richfaces-showcase: src/main and 7 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2011-03-31 11:27:03 -0400 (Thu, 31 Mar 2011)
New Revision: 22345
Added:
trunk/examples/richfaces-showcase/src/main/java-gae/
trunk/examples/richfaces-showcase/src/main/java-gae/com/
trunk/examples/richfaces-showcase/src/main/java-gae/com/sun/
trunk/examples/richfaces-showcase/src/main/java-gae/com/sun/faces/
trunk/examples/richfaces-showcase/src/main/java-gae/com/sun/faces/facelets/
trunk/examples/richfaces-showcase/src/main/java-gae/com/sun/faces/facelets/impl/
trunk/examples/richfaces-showcase/src/main/java-gae/com/sun/faces/facelets/impl/IdMapper.java
Removed:
trunk/examples/richfaces-showcase/src/main/java-gae/com/
trunk/examples/richfaces-showcase/src/main/java-gae/com/sun/
trunk/examples/richfaces-showcase/src/main/java-gae/com/sun/faces/
trunk/examples/richfaces-showcase/src/main/java-gae/com/sun/faces/facelets/
trunk/examples/richfaces-showcase/src/main/java-gae/com/sun/faces/facelets/impl/
trunk/examples/richfaces-showcase/src/main/java-gae/com/sun/faces/facelets/impl/IdMapper.java
Modified:
trunk/examples/richfaces-showcase/pom.xml
trunk/examples/richfaces-showcase/src/main/webapp-gae/WEB-INF/appengine-web.xml
Log:
https://issues.jboss.org/browse/RF-10823
https://issues.jboss.org/browse/RF-10828
Modified: trunk/examples/richfaces-showcase/pom.xml
===================================================================
--- trunk/examples/richfaces-showcase/pom.xml 2011-03-31 15:26:32 UTC (rev 22344)
+++ trunk/examples/richfaces-showcase/pom.xml 2011-03-31 15:27:03 UTC (rev 22345)
@@ -193,6 +193,24 @@
</resources>
<plugins>
<plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>add-source</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>add-source</goal>
+ </goals>
+ <configuration>
+ <sources>
+ <source>src/main/java-gae</source>
+ </sources>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<webResources>
Deleted: trunk/examples/richfaces-showcase/src/main/java-gae/com/sun/faces/facelets/impl/IdMapper.java
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/java-gae/com/sun/faces/facelets/impl/IdMapper.java 2011-03-30 15:21:27 UTC (rev 22338)
+++ trunk/examples/richfaces-showcase/src/main/java-gae/com/sun/faces/facelets/impl/IdMapper.java 2011-03-31 15:27:03 UTC (rev 22345)
@@ -1,102 +0,0 @@
-/*
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
- *
- * Copyright 1997-2010 Sun Microsystems, Inc. All rights reserved.
- *
- * The contents of this file are subject to the terms of either the GNU
- * General Public License Version 2 only ("GPL") or the Common Development
- * and Distribution License("CDDL") (collectively, the "License"). You
- * may not use this file except in compliance with the License. You can obtain
- * a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
- * or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific
- * language governing permissions and limitations under the License.
- *
- * When distributing the software, include this License Header Notice in each
- * file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
- * Sun designates this particular file as subject to the "Classpath" exception
- * as provided by Sun in the GPL Version 2 section of the License file that
- * accompanied this code. If applicable, add the following below the License
- * Header, with the fields enclosed by brackets [] replaced by your own
- * identifying information: "Portions Copyrighted [year]
- * [name of copyright owner]"
- *
- * Contributor(s):
- *
- * If you wish your version of this file to be governed by only the CDDL or
- * only the GPL Version 2, indicate your decision by adding "[Contributor]
- * elects to include this software in this distribution under the [CDDL or GPL
- * Version 2] license." If you don't indicate a single choice of license, a
- * recipient has the option to distribute your version of this file under
- * either the CDDL, the GPL Version 2 or to extend the choice of license to
- * its licensees as provided above. However, if you add GPL Version 2 code
- * and therefore, elected the GPL Version 2 license, then the option applies
- * only if the new code is made subject to such option by the copyright
- * holder.
- *
- *
- * This file incorporates work covered by the following copyright and
- * permission notice:
- *
- * Copyright 2005-2007 The Apache Software Foundation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-package com.sun.faces.facelets.impl;
-
-import javax.faces.context.FacesContext;
-
-import com.sun.faces.util.Util;
-
-/**
- * Used to provide aliases to Facelets generated unique IDs with tend to be
- * womewhat long.
- */
-public class IdMapper {
-
- private static final String KEY = IdMapper.class.getName();
-
- // ------------------------------------------------------------ Constructors
-
-
- IdMapper() { }
-
-
- // ---------------------------------------------------------- Public Methods
-
-
- public String getAliasedId(String id) {
- return "R" + id;
- }
-
-
- public static void setMapper(FacesContext ctx, IdMapper mapper) {
-
- Util.notNull("ctx", ctx);
- if (mapper == null) {
- ctx.getAttributes().remove(KEY);
- } else {
- ctx.getAttributes().put(KEY, mapper);
- }
-
- }
-
-
- public static IdMapper getMapper(FacesContext ctx) {
-
- Util.notNull("ctx", ctx);
- return ((IdMapper) ctx.getAttributes().get(KEY));
-
- }
-}
Copied: trunk/examples/richfaces-showcase/src/main/java-gae/com/sun/faces/facelets/impl/IdMapper.java (from rev 22338, branches/4.0.X/examples/richfaces-showcase/src/main/java-gae/com/sun/faces/facelets/impl/IdMapper.java)
===================================================================
--- trunk/examples/richfaces-showcase/src/main/java-gae/com/sun/faces/facelets/impl/IdMapper.java (rev 0)
+++ trunk/examples/richfaces-showcase/src/main/java-gae/com/sun/faces/facelets/impl/IdMapper.java 2011-03-31 15:27:03 UTC (rev 22345)
@@ -0,0 +1,102 @@
+/*
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
+ *
+ * Copyright 1997-2010 Sun Microsystems, Inc. All rights reserved.
+ *
+ * The contents of this file are subject to the terms of either the GNU
+ * General Public License Version 2 only ("GPL") or the Common Development
+ * and Distribution License("CDDL") (collectively, the "License"). You
+ * may not use this file except in compliance with the License. You can obtain
+ * a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
+ * or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific
+ * language governing permissions and limitations under the License.
+ *
+ * When distributing the software, include this License Header Notice in each
+ * file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
+ * Sun designates this particular file as subject to the "Classpath" exception
+ * as provided by Sun in the GPL Version 2 section of the License file that
+ * accompanied this code. If applicable, add the following below the License
+ * Header, with the fields enclosed by brackets [] replaced by your own
+ * identifying information: "Portions Copyrighted [year]
+ * [name of copyright owner]"
+ *
+ * Contributor(s):
+ *
+ * If you wish your version of this file to be governed by only the CDDL or
+ * only the GPL Version 2, indicate your decision by adding "[Contributor]
+ * elects to include this software in this distribution under the [CDDL or GPL
+ * Version 2] license." If you don't indicate a single choice of license, a
+ * recipient has the option to distribute your version of this file under
+ * either the CDDL, the GPL Version 2 or to extend the choice of license to
+ * its licensees as provided above. However, if you add GPL Version 2 code
+ * and therefore, elected the GPL Version 2 license, then the option applies
+ * only if the new code is made subject to such option by the copyright
+ * holder.
+ *
+ *
+ * This file incorporates work covered by the following copyright and
+ * permission notice:
+ *
+ * Copyright 2005-2007 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+package com.sun.faces.facelets.impl;
+
+import javax.faces.context.FacesContext;
+
+import com.sun.faces.util.Util;
+
+/**
+ * Used to provide aliases to Facelets generated unique IDs with tend to be
+ * womewhat long.
+ */
+public class IdMapper {
+
+ private static final String KEY = IdMapper.class.getName();
+
+ // ------------------------------------------------------------ Constructors
+
+
+ IdMapper() { }
+
+
+ // ---------------------------------------------------------- Public Methods
+
+
+ public String getAliasedId(String id) {
+ return "R" + id;
+ }
+
+
+ public static void setMapper(FacesContext ctx, IdMapper mapper) {
+
+ Util.notNull("ctx", ctx);
+ if (mapper == null) {
+ ctx.getAttributes().remove(KEY);
+ } else {
+ ctx.getAttributes().put(KEY, mapper);
+ }
+
+ }
+
+
+ public static IdMapper getMapper(FacesContext ctx) {
+
+ Util.notNull("ctx", ctx);
+ return ((IdMapper) ctx.getAttributes().get(KEY));
+
+ }
+}
Modified: trunk/examples/richfaces-showcase/src/main/webapp-gae/WEB-INF/appengine-web.xml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp-gae/WEB-INF/appengine-web.xml 2011-03-31 15:26:32 UTC (rev 22344)
+++ trunk/examples/richfaces-showcase/src/main/webapp-gae/WEB-INF/appengine-web.xml 2011-03-31 15:27:03 UTC (rev 22345)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
<application>travelcurve</application>
- <version>28</version>
+ <version>42</version>
<sessions-enabled>true</sessions-enabled>
<system-properties>
13 years, 9 months
JBoss Rich Faces SVN: r22344 - in modules/tests/metamer/trunk/application/src/main/webapp/components: richMenuItem and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: ppitonak(a)redhat.com
Date: 2011-03-31 11:26:32 -0400 (Thu, 31 Mar 2011)
New Revision: 22344
Added:
modules/tests/metamer/trunk/application/src/main/webapp/components/richMenuGroup/facets.xhtml
modules/tests/metamer/trunk/application/src/main/webapp/components/richMenuItem/facets.xhtml
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/richMenuGroup/list.xhtml
modules/tests/metamer/trunk/application/src/main/webapp/components/richMenuItem/list.xhtml
Log:
new samples for testing facets of rich:menuGroup and rich:menuItem
Added: modules/tests/metamer/trunk/application/src/main/webapp/components/richMenuGroup/facets.xhtml
===================================================================
--- modules/tests/metamer/trunk/application/src/main/webapp/components/richMenuGroup/facets.xhtml (rev 0)
+++ modules/tests/metamer/trunk/application/src/main/webapp/components/richMenuGroup/facets.xhtml 2011-03-31 15:26:32 UTC (rev 22344)
@@ -0,0 +1,144 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://java.sun.com/jsf/core" xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:metamer="http://java.sun.com/jsf/composite/metamer" xmlns:rich="http://richfaces.org/rich"
+ xmlns:h="http://java.sun.com/jsf/html">
+
+ <!--
+JBoss, Home of Professional Open Source
+Copyright 2010-2011, Red Hat, Inc. and individual contributors
+by the @authors tag. See the copyright.txt in the distribution for a
+full listing of individual contributors.
+
+This is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as
+published by the Free Software Foundation; either version 2.1 of
+the License, or (at your option) any later version.
+
+This software is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+Lesser General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public
+License along with this software; if not, write to the Free
+Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ -->
+
+ <ui:composition template="/templates/template.xhtml">
+
+ <ui:define name="view">
+ <f:metadata>
+ <f:viewParam name="templates" value="#{templateBean.templates}">
+ <f:converter converterId="templatesListConverter" />
+ </f:viewParam>
+ </f:metadata>
+ </ui:define>
+
+ <ui:define name="head">
+ <style type="text/css">
+ .pic {
+ margin-bottom: -4px;
+ margin-right: 2px;
+ }
+
+ .search .rf-ddm-itm-sel {
+ background-color: transparent;
+ background-image:none;
+ border-color: transparent;
+ cursor: default;
+ }
+ </style>
+ </ui:define>
+
+ <ui:define name="component">
+ <rich:toolbar id="toolbar" height="26px" width="500px;">
+ <rich:dropDownMenu id="menu1" mode="ajax">
+ <f:facet name="label">
+ <h:panelGroup>
+ <h:graphicImage library="images/icons" name="copy.gif" styleClass="pic" />
+ <h:outputText value="File" />
+ </h:panelGroup>
+ </f:facet>
+
+ <rich:menuItem id="menuItem1" label="New" icon="/resources/images/icons/create_doc.gif"/>
+
+ <rich:menuItem id="menuItem2" label="Open" icon="/resources/images/icons/open.gif" />
+
+ <rich:menuGroup id="menuGroup3" label="Open Recent..." disabled="true">
+ <rich:menuItem id="menuItem31" label="Save" icon="/resources/images/icons/save.gif" />
+ <rich:menuItem id="menuItem32" label="Save All">
+ <f:facet name="icon">
+ <h:graphicImage library="images/icons" name="save_all.gif" />
+ </f:facet>
+ </rich:menuItem>
+ </rich:menuGroup>
+
+ <rich:menuSeparator id="menuSeparator11" />
+
+ <rich:menuGroup id="menuGroup4"
+ dir="#{richMenuGroupBean.attributes['dir'].value}"
+ direction="#{richMenuGroupBean.attributes['direction'].value}"
+ disabled="#{richMenuGroupBean.attributes['disabled'].value}"
+ horizontalOffset="#{richMenuGroupBean.attributes['horizontalOffset'].value}"
+ jointPoint="#{richMenuGroupBean.attributes['jointPoint'].value}"
+ label="#{richMenuGroupBean.attributes['label'].value}"
+ lang="#{richMenuGroupBean.attributes['lang'].value}"
+ onclick="#{richMenuGroupBean.attributes['onclick'].value}"
+ ondblclick="#{richMenuGroupBean.attributes['ondblclick'].value}"
+ onhide="#{richMenuGroupBean.attributes['onhide'].value}"
+ onkeydown="#{richMenuGroupBean.attributes['onkeydown'].value}"
+ onkeypress="#{richMenuGroupBean.attributes['onkeypress'].value}"
+ onkeyup="#{richMenuGroupBean.attributes['onkeyup'].value}"
+ onmousedown="#{richMenuGroupBean.attributes['onmousedown'].value}"
+ onmousemove="#{richMenuGroupBean.attributes['onmousemove'].value}"
+ onmouseout="#{richMenuGroupBean.attributes['onmouseout'].value}"
+ onmouseover="#{richMenuGroupBean.attributes['onmouseover'].value}"
+ onmouseup="#{richMenuGroupBean.attributes['onmouseup'].value}"
+ onshow="#{richMenuGroupBean.attributes['onshow'].value}"
+ rendered="#{richMenuGroupBean.attributes['rendered'].value}"
+ style="#{richMenuGroupBean.attributes['style'].value}"
+ styleClass="#{richMenuGroupBean.attributes['styleClass'].value}"
+ title="#{richMenuGroupBean.attributes['title'].value}"
+ verticalOffset="#{richMenuGroupBean.attributes['verticalOffset'].value}"
+ >
+ <f:facet name="icon">
+ <h:graphicImage value="#{richMenuGroupBean.attributes['icon'].value}"
+ rendered="#{richMenuGroupBean.attributes['icon'].value != null}" />
+ </f:facet>
+ <f:facet name="iconDisabled">
+ <h:graphicImage value="#{richMenuGroupBean.attributes['iconDisabled'].value}"
+ rendered="#{richMenuGroupBean.attributes['iconDisabled'].value != null}" />
+ </f:facet>
+
+ <rich:menuItem id="menuItem41" label="Save" icon="/resources/images/icons/save.gif" />
+ <rich:menuItem id="menuItem42" label="Save All" >
+ <f:facet name="icon">
+ <h:graphicImage library="images/icons" name="save_all.gif" />
+ </f:facet>
+ </rich:menuItem>
+ <rich:menuItem id="menuItem43" label="Send Online" icon="/resources/images/icons/save.gif" disabled="true" />
+ </rich:menuGroup>
+
+ <rich:menuItem id="menuItem5" label="Print" disabled="true"/>
+
+ <rich:menuItem id="menuItem6" label="Close" />
+
+ <rich:menuSeparator id="menuSeparator12" />
+
+ <rich:menuItem id="menuItem7" label="Exit" />
+
+ </rich:dropDownMenu>
+
+ </rich:toolbar>
+
+ <br /><br />
+ </ui:define>
+
+ <ui:define name="outOfTemplateAfter">
+ <metamer:attributes value="#{richMenuGroupBean.attributes}" id="attributes" />
+ </ui:define>
+
+ </ui:composition>
+</html>
\ No newline at end of file
Modified: modules/tests/metamer/trunk/application/src/main/webapp/components/richMenuGroup/list.xhtml
===================================================================
--- modules/tests/metamer/trunk/application/src/main/webapp/components/richMenuGroup/list.xhtml 2011-03-31 14:48:52 UTC (rev 22343)
+++ modules/tests/metamer/trunk/application/src/main/webapp/components/richMenuGroup/list.xhtml 2011-03-31 15:26:32 UTC (rev 22344)
@@ -35,6 +35,9 @@
Simple page containing a drop down menu with several <b>rich:menuGroup</b>s and inputs for all attributes.
</metamer:testPageLink>
+ <metamer:testPageLink id="facets" outcome="facets" value="Facets">
+ Page for testing facets of a <b>rich:menuGroup</b>.
+ </metamer:testPageLink>
</ui:define>
</ui:composition>
Added: modules/tests/metamer/trunk/application/src/main/webapp/components/richMenuItem/facets.xhtml
===================================================================
--- modules/tests/metamer/trunk/application/src/main/webapp/components/richMenuItem/facets.xhtml (rev 0)
+++ modules/tests/metamer/trunk/application/src/main/webapp/components/richMenuItem/facets.xhtml 2011-03-31 15:26:32 UTC (rev 22344)
@@ -0,0 +1,152 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://java.sun.com/jsf/core" xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:metamer="http://java.sun.com/jsf/composite/metamer" xmlns:rich="http://richfaces.org/rich"
+ xmlns:h="http://java.sun.com/jsf/html">
+
+ <!--
+JBoss, Home of Professional Open Source
+Copyright 2010-2011, Red Hat, Inc. and individual contributors
+by the @authors tag. See the copyright.txt in the distribution for a
+full listing of individual contributors.
+
+This is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as
+published by the Free Software Foundation; either version 2.1 of
+the License, or (at your option) any later version.
+
+This software is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+Lesser General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public
+License along with this software; if not, write to the Free
+Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ -->
+
+ <ui:composition template="/templates/template.xhtml">
+
+ <ui:define name="view">
+ <f:metadata>
+ <f:viewParam name="templates" value="#{templateBean.templates}">
+ <f:converter converterId="templatesListConverter" />
+ </f:viewParam>
+ </f:metadata>
+ </ui:define>
+
+ <ui:define name="head">
+ <style type="text/css">
+ .pic {
+ margin-bottom: -4px;
+ margin-right: 2px;
+ }
+
+ .search .rf-ddm-itm-sel {
+ background-color: transparent;
+ background-image:none;
+ border-color: transparent;
+ cursor: default;
+ }
+ </style>
+ </ui:define>
+
+ <ui:define name="component">
+ <rich:toolbar id="toolbar" height="26px">
+ <rich:dropDownMenu id="menu1" mode="ajax">
+ <f:facet name="label">
+ <h:panelGroup>
+ <h:graphicImage library="images/icons" name="copy.gif" styleClass="pic" />
+ <h:outputText value="File" />
+ </h:panelGroup>
+ </f:facet>
+
+ <rich:menuItem id="menuItem1"
+ action="#{richBean.dummyAction}"
+ actionListener="#{richBean.dummyActionListener}"
+ bypassUpdates="#{richMenuItemBean.attributes['bypassUpdates'].value}"
+ data="#{richMenuItemBean.attributes['data'].value}"
+ dir="#{richMenuItemBean.attributes['dir'].value}"
+ disabled="#{richMenuItemBean.attributes['disabled'].value}"
+ execute="#{richMenuItemBean.attributes['execute'].value}"
+ immediate="#{richMenuItemBean.attributes['immediate'].value}"
+ label="#{richMenuItemBean.attributes['label'].value}"
+ lang="#{richMenuItemBean.attributes['lang'].value}"
+ limitRender="#{richMenuItemBean.attributes['limitRender'].value}"
+ mode="#{richMenuItemBean.attributes['mode'].value}"
+ onbeforedomupdate="#{richMenuItemBean.attributes['onbeforedomupdate'].value}"
+ onbegin="#{richMenuItemBean.attributes['onbegin'].value}"
+ onclick="#{richMenuItemBean.attributes['onclick'].value}"
+ oncomplete="#{richMenuItemBean.attributes['oncomplete'].value}"
+ ondblclick="#{richMenuItemBean.attributes['ondblclick'].value}"
+ onkeydown="#{richMenuItemBean.attributes['onkeydown'].value}"
+ onkeypress="#{richMenuItemBean.attributes['onkeypress'].value}"
+ onkeyup="#{richMenuItemBean.attributes['onkeyup'].value}"
+ onmousedown="#{richMenuItemBean.attributes['onmousedown'].value}"
+ onmousemove="#{richMenuItemBean.attributes['onmousemove'].value}"
+ onmouseout="#{richMenuItemBean.attributes['onmouseout'].value}"
+ onmouseover="#{richMenuItemBean.attributes['onmouseover'].value}"
+ onmouseup="#{richMenuItemBean.attributes['onmouseup'].value}"
+ render="#{richMenuItemBean.attributes['render'].value}"
+ rendered="#{richMenuItemBean.attributes['rendered'].value}"
+ status="#{richMenuItemBean.attributes['status'].value}"
+ style="#{richMenuItemBean.attributes['style'].value}"
+ styleClass="#{richMenuItemBean.attributes['styleClass'].value}"
+ title="#{richMenuItemBean.attributes['title'].value}"
+ >
+ <f:facet name="icon">
+ <h:graphicImage value="#{richMenuItemBean.attributes['icon'].value}"
+ rendered="#{richMenuItemBean.attributes['icon'].value != null}" />
+ </f:facet>
+ <f:facet name="iconDisabled">
+ <h:graphicImage value="#{richMenuItemBean.attributes['iconDisabled'].value}"
+ rendered="#{richMenuItemBean.attributes['iconDisabled'].value != null}"/>
+ </f:facet>
+ </rich:menuItem>
+
+ <rich:menuItem id="menuItem2" label="Open" icon="/resources/images/icons/open.gif" />
+
+ <rich:menuGroup id="menuGroup3" label="Open Recent..." disabled="true">
+ <rich:menuItem id="menuItem31" label="Save" icon="/resources/images/icons/save.gif" />
+ <rich:menuItem id="menuItem32" label="Save All">
+ <f:facet name="icon">
+ <h:graphicImage library="images/icons" name="save_all.gif" />
+ </f:facet>
+ </rich:menuItem>
+ </rich:menuGroup>
+
+ <rich:menuSeparator id="menuSeparator11" />
+
+ <rich:menuGroup id="menuGroup4" label="Save As...">
+ <rich:menuItem id="menuItem41" label="Save" icon="/resources/images/icons/save.gif" />
+ <rich:menuItem id="menuItem42" label="Save All" >
+ <f:facet name="icon">
+ <h:graphicImage library="images/icons" name="save_all.gif" />
+ </f:facet>
+ </rich:menuItem>
+ <rich:menuItem id="menuItem43" label="Send Online" icon="/resources/images/icons/save.gif" disabled="true" />
+ </rich:menuGroup>
+
+ <rich:menuItem id="menuItem5" label="Print" disabled="true"/>
+
+ <rich:menuItem id="menuItem6" label="Close" />
+
+ <rich:menuSeparator id="menuSeparator12" />
+
+ <rich:menuItem id="menuItem7" label="Exit" />
+
+ </rich:dropDownMenu>
+
+ </rich:toolbar>
+
+ <br /><br />
+ </ui:define>
+
+ <ui:define name="outOfTemplateAfter">
+ Settings for the first menu item:
+ <metamer:attributes value="#{richMenuItemBean.attributes}" id="attributes" />
+ </ui:define>
+
+ </ui:composition>
+</html>
\ No newline at end of file
Modified: modules/tests/metamer/trunk/application/src/main/webapp/components/richMenuItem/list.xhtml
===================================================================
--- modules/tests/metamer/trunk/application/src/main/webapp/components/richMenuItem/list.xhtml 2011-03-31 14:48:52 UTC (rev 22343)
+++ modules/tests/metamer/trunk/application/src/main/webapp/components/richMenuItem/list.xhtml 2011-03-31 15:26:32 UTC (rev 22344)
@@ -35,6 +35,10 @@
Simple page containing a drop down menu with several <b>rich:menuItem</b>s and inputs for all attributes.
</metamer:testPageLink>
+ <metamer:testPageLink id="facets" outcome="facets" value="Facets">
+ Page testing facets of a <b>rich:menuItem</b>.
+ </metamer:testPageLink>
+
</ui:define>
</ui:composition>
13 years, 9 months
JBoss Rich Faces SVN: r22343 - in modules/tests/metamer/trunk/application/src/main: webapp/WEB-INF and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: ppitonak(a)redhat.com
Date: 2011-03-31 10:48:52 -0400 (Thu, 31 Mar 2011)
New Revision: 22343
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichFileUploadBean.java
modules/tests/metamer/trunk/application/src/main/webapp/WEB-INF/web.xml
modules/tests/metamer/trunk/application/src/main/webapp/components/richFileUpload/simple.xhtml
Log:
sample for rich:fileUpload updated
Modified: modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichFileUploadBean.java
===================================================================
--- modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichFileUploadBean.java 2011-03-31 12:52:05 UTC (rev 22342)
+++ modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichFileUploadBean.java 2011-03-31 14:48:52 UTC (rev 22343)
@@ -62,8 +62,13 @@
attributes = Attributes.getComponentAttributesFromFacesConfig(UIFileUpload.class, getClass());
+ attributes.setAttribute("addLabel", "Add ...");
+ attributes.setAttribute("clearAllLabel", "Clear All");
+ attributes.setAttribute("clearLabel", "Clear");
+ attributes.setAttribute("deleteLabel", "Delete");
attributes.setAttribute("noDuplicate", false);
attributes.setAttribute("rendered", true);
+ attributes.setAttribute("uploadLabel", "Upload");
// will be tested in another way
attributes.remove("validator");
Modified: modules/tests/metamer/trunk/application/src/main/webapp/WEB-INF/web.xml
===================================================================
--- modules/tests/metamer/trunk/application/src/main/webapp/WEB-INF/web.xml 2011-03-31 12:52:05 UTC (rev 22342)
+++ modules/tests/metamer/trunk/application/src/main/webapp/WEB-INF/web.xml 2011-03-31 14:48:52 UTC (rev 22343)
@@ -20,6 +20,10 @@
<param-name>org.richfaces.skin</param-name>
<param-value>#{richBean.skin}</param-value>
</context-param>
+ <context-param>
+ <param-name>org.richfaces.fileUpload.maxRequestSize</param-name>
+ <param-value>2097152</param-value>
+ </context-param>
<filter>
<filter-name>Test Identity Filter</filter-name>
<filter-class>org.richfaces.tests.metamer.TestIdentityFilter</filter-class>
Modified: modules/tests/metamer/trunk/application/src/main/webapp/components/richFileUpload/simple.xhtml
===================================================================
--- modules/tests/metamer/trunk/application/src/main/webapp/components/richFileUpload/simple.xhtml 2011-03-31 12:52:05 UTC (rev 22342)
+++ modules/tests/metamer/trunk/application/src/main/webapp/components/richFileUpload/simple.xhtml 2011-03-31 14:48:52 UTC (rev 22343)
@@ -27,9 +27,9 @@
-->
<ui:composition template="/templates/template.xhtml">
-
- <ui:define name="view">
- <f:metadata>
+
+ <ui:define name="view">
+ <f:metadata>
<f:viewParam name="templates" value="#{templateBean.templates}">
<f:converter converterId="templatesListConverter" />
</f:viewParam>
@@ -40,12 +40,23 @@
<rich:fileUpload id="fileUpload"
acceptedTypes="#{richFileUploadBean.attributes['acceptedTypes'].value}"
+ addLabel="#{richFileUploadBean.attributes['addLabel'].value}"
+ clearAllLabel="#{richFileUploadBean.attributes['clearAllLabel'].value}"
+ clearLabel="#{richFileUploadBean.attributes['clearLabel'].value}"
+ data="#{richFileUploadBean.attributes['data'].value}"
+ deleteLabel="#{richFileUploadBean.attributes['deleteLabel'].value}"
dir="#{richFileUploadBean.attributes['dir'].value}"
disabled="#{richFileUploadBean.attributes['disabled'].value}"
+ doneLabel="#{richFileUploadBean.attributes['doneLabel'].value}"
+ execute="#{richFileUploadBean.attributes['execute'].value}"
fileUploadListener="#{richFileUploadBean.listener}"
lang="#{richFileUploadBean.attributes['lang'].value}"
+ limitRender="#{richFileUploadBean.attributes['limitRender'].value}"
noDuplicate="#{richFileUploadBean.attributes['noDuplicate'].value}"
+ onbeforedomupdate="#{richFileUploadBean.attributes['onbeforedomupdate'].value}"
+ onbegin="#{richFileUploadBean.attributes['onbegin'].value}"
onclick="#{richFileUploadBean.attributes['onclick'].value}"
+ oncomplete="#{richFileUploadBean.attributes['oncomplete'].value}"
ondblclick="#{richFileUploadBean.attributes['ondblclick'].value}"
onfilesubmit="#{richFileUploadBean.attributes['onfilesubmit'].value}"
onkeydown="#{richFileUploadBean.attributes['onkeydown'].value}"
@@ -57,10 +68,15 @@
onmouseover="#{richFileUploadBean.attributes['onmouseover'].value}"
onmouseup="#{richFileUploadBean.attributes['onmouseup'].value}"
onuploadcomplete="#{richFileUploadBean.attributes['onuploadcomplete'].value}"
+ render="#{richFileUploadBean.attributes['render'].value}"
rendered="#{richFileUploadBean.attributes['rendered'].value}"
+ serverErrorLabel="#{richFileUploadBean.attributes['serverErrorLabel'].value}"
+ sizeExceededLabel="#{richFileUploadBean.attributes['sizeExceededLabel'].value}"
+ status="#{richFileUploadBean.attributes['status'].value}"
style="#{richFileUploadBean.attributes['style'].value}"
styleClass="#{richFileUploadBean.attributes['styleClass'].value}"
title="#{richFileUploadBean.attributes['title'].value}"
+ uploadLabel="#{richFileUploadBean.attributes['uploadLabel'].value}"
/>
<br/>
13 years, 9 months
JBoss Rich Faces SVN: r22342 - in modules/tests/metamer/trunk: application/src/main/webapp/components/richInputNumberSlider and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: ppitonak(a)redhat.com
Date: 2011-03-31 08:52:05 -0400 (Thu, 31 Mar 2011)
New Revision: 22342
Modified:
modules/tests/metamer/trunk/application/src/main/resources/org/richfaces/tests/metamer/bean/RichInputNumberSliderBean.properties
modules/tests/metamer/trunk/application/src/main/webapp/components/richInputNumberSlider/fAjax.xhtml
modules/tests/metamer/trunk/application/src/main/webapp/components/richInputNumberSlider/simple.xhtml
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richInputNumberSlider/TestRichSlider.java
Log:
samples for slider updated
added new tests for slider
Modified: modules/tests/metamer/trunk/application/src/main/resources/org/richfaces/tests/metamer/bean/RichInputNumberSliderBean.properties
===================================================================
--- modules/tests/metamer/trunk/application/src/main/resources/org/richfaces/tests/metamer/bean/RichInputNumberSliderBean.properties 2011-03-31 12:51:12 UTC (rev 22341)
+++ modules/tests/metamer/trunk/application/src/main/resources/org/richfaces/tests/metamer/bean/RichInputNumberSliderBean.properties 2011-03-31 12:52:05 UTC (rev 22342)
@@ -1,3 +1,7 @@
+attr.dir.ltr=ltr
+attr.dir.rtl=rtl
+attr.dir.null=
+
attr.inputPosition.left=left
attr.inputPosition.right=right
attr.inputPosition.top=top
Modified: modules/tests/metamer/trunk/application/src/main/webapp/components/richInputNumberSlider/fAjax.xhtml
===================================================================
--- modules/tests/metamer/trunk/application/src/main/webapp/components/richInputNumberSlider/fAjax.xhtml 2011-03-31 12:51:12 UTC (rev 22341)
+++ modules/tests/metamer/trunk/application/src/main/webapp/components/richInputNumberSlider/fAjax.xhtml 2011-03-31 12:52:05 UTC (rev 22342)
@@ -38,8 +38,6 @@
<ui:define name="component">
<rich:inputNumberSlider id="slider"
- valueChangeListener="#{richBean.valueChangeListener}"
-
accesskey="#{richInputNumberSliderBean.attributes['accesskey'].value}"
decreaseClass="#{richInputNumberSliderBean.attributes['decreaseClass'].value}"
decreaseSelectedClass="#{richInputNumberSliderBean.attributes['decreaseSelectedClass'].value}"
@@ -74,7 +72,6 @@
onmouseover="#{richInputNumberSliderBean.attributes['onmouseover'].value}"
onmouseup="#{richInputNumberSliderBean.attributes['onmouseup'].value}"
onselect="#{richInputNumberSliderBean.attributes['onselect'].value}"
- readonly="#{richInputNumberSliderBean.attributes['readonly'].value}"
rendered="#{richInputNumberSliderBean.attributes['rendered'].value}"
required="#{richInputNumberSliderBean.attributes['required'].value}"
requiredMessage="#{richInputNumberSliderBean.attributes['requiredMessage'].value}"
@@ -90,6 +87,7 @@
tooltipClass="#{richInputNumberSliderBean.attributes['tooltipClass'].value}"
trackClass="#{richInputNumberSliderBean.attributes['trackClass'].value}"
value="#{richInputNumberSliderBean.attributes['value'].value}"
+ valueChangeListener="#{richBean.valueChangeListener}"
>
<f:ajax event="change" render="output :phasesPanel"/>
Modified: modules/tests/metamer/trunk/application/src/main/webapp/components/richInputNumberSlider/simple.xhtml
===================================================================
--- modules/tests/metamer/trunk/application/src/main/webapp/components/richInputNumberSlider/simple.xhtml 2011-03-31 12:51:12 UTC (rev 22341)
+++ modules/tests/metamer/trunk/application/src/main/webapp/components/richInputNumberSlider/simple.xhtml 2011-03-31 12:52:05 UTC (rev 22342)
@@ -38,8 +38,6 @@
<ui:define name="component">
<rich:inputNumberSlider id="slider"
- valueChangeListener="#{richBean.valueChangeListener}"
-
accesskey="#{richInputNumberSliderBean.attributes['accesskey'].value}"
decreaseClass="#{richInputNumberSliderBean.attributes['decreaseClass'].value}"
decreaseSelectedClass="#{richInputNumberSliderBean.attributes['decreaseSelectedClass'].value}"
@@ -74,7 +72,6 @@
onmouseover="#{richInputNumberSliderBean.attributes['onmouseover'].value}"
onmouseup="#{richInputNumberSliderBean.attributes['onmouseup'].value}"
onselect="#{richInputNumberSliderBean.attributes['onselect'].value}"
- readonly="#{richInputNumberSliderBean.attributes['readonly'].value}"
rendered="#{richInputNumberSliderBean.attributes['rendered'].value}"
required="#{richInputNumberSliderBean.attributes['required'].value}"
requiredMessage="#{richInputNumberSliderBean.attributes['requiredMessage'].value}"
@@ -90,6 +87,7 @@
tooltipClass="#{richInputNumberSliderBean.attributes['tooltipClass'].value}"
trackClass="#{richInputNumberSliderBean.attributes['trackClass'].value}"
value="#{richInputNumberSliderBean.attributes['value'].value}"
+ valueChangeListener="#{richBean.valueChangeListener}"
>
<a4j:ajax event="change" render="output"/>
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richInputNumberSlider/TestRichSlider.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richInputNumberSlider/TestRichSlider.java 2011-03-31 12:51:12 UTC (rev 22341)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richInputNumberSlider/TestRichSlider.java 2011-03-31 12:52:05 UTC (rev 22342)
@@ -39,6 +39,7 @@
import java.util.TreeSet;
import javax.faces.event.PhaseId;
+import org.jboss.test.selenium.dom.Event;
import org.jboss.test.selenium.encapsulated.JavaScript;
import org.jboss.test.selenium.geometry.Point;
@@ -171,6 +172,11 @@
}
@Test
+ public void testDir() {
+ testDir(slider);
+ }
+
+ @Test
public void testDisabled() {
JQueryLocator selectOption = pjq("input[type=radio][name$=disabledInput][value=true]");
selenium.click(selectOption);
@@ -308,6 +314,11 @@
}
@Test
+ public void testLang() {
+ testLang(slider);
+ }
+
+ @Test
public void testMaxValueType() {
JQueryLocator selectOption = pjq("input[type=text][id$=maxValueInput]");
selenium.type(selectOption, "13");
@@ -399,6 +410,11 @@
}
@Test
+ public void testOnblur() {
+ testFireEvent(Event.BLUR, slider);
+ }
+
+ @Test
public void testOnchangeType() {
String value = "metamerEvents += \"change \"";
selenium.type(pjq("input[id$=onchangeInput]"), value);
@@ -441,6 +457,66 @@
}
@Test
+ public void testOnclick() {
+ testFireEvent(Event.CLICK, slider);
+ }
+
+ @Test
+ public void testOndblclick() {
+ testFireEvent(Event.DBLCLICK, slider);
+ }
+
+ @Test
+ public void testOnfocus() {
+ testFireEvent(Event.FOCUS, slider);
+ }
+
+ @Test
+ public void testOnkeydown() {
+ testFireEvent(Event.KEYDOWN, slider);
+ }
+
+ @Test
+ public void testOnkeypress() {
+ testFireEvent(Event.KEYPRESS, slider);
+ }
+
+ @Test
+ public void testOnkeyup() {
+ testFireEvent(Event.KEYUP, slider);
+ }
+
+ @Test
+ public void testOnmousedown() {
+ testFireEvent(Event.MOUSEDOWN, slider);
+ }
+
+ @Test
+ public void testOnmousemove() {
+ testFireEvent(Event.MOUSEMOVE, slider);
+ }
+
+ @Test
+ public void testOnmouseout() {
+ testFireEvent(Event.MOUSEOUT, slider);
+ }
+
+ @Test
+ public void testOnmouseover() {
+ testFireEvent(Event.MOUSEOVER, slider);
+ }
+
+ @Test
+ public void testOnmouseup() {
+ testFireEvent(Event.MOUSEUP, slider);
+ }
+
+ @Test
+ public void testOnselect() {
+ testFireEvent(Event.SELECT, slider);
+ }
+
+ @Test
public void testRendered() {
selenium.click(pjq("input[type=radio][name$=renderedInput][value=false]"));
selenium.waitForPageToLoad();
13 years, 9 months
JBoss Rich Faces SVN: r22341 - modules/tests/metamer/trunk/application/src/main/webapp/components/richInputNumberSpinner.
by richfaces-svn-commits@lists.jboss.org
Author: ppitonak(a)redhat.com
Date: 2011-03-31 08:51:12 -0400 (Thu, 31 Mar 2011)
New Revision: 22341
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/richInputNumberSpinner/fAjax.xhtml
Log:
sample for spinner with f:ajax updated
Modified: modules/tests/metamer/trunk/application/src/main/webapp/components/richInputNumberSpinner/fAjax.xhtml
===================================================================
--- modules/tests/metamer/trunk/application/src/main/webapp/components/richInputNumberSpinner/fAjax.xhtml 2011-03-31 12:50:47 UTC (rev 22340)
+++ modules/tests/metamer/trunk/application/src/main/webapp/components/richInputNumberSpinner/fAjax.xhtml 2011-03-31 12:51:12 UTC (rev 22341)
@@ -44,8 +44,6 @@
<ui:define name="component">
<rich:inputNumberSpinner id="spinner"
- valueChangeListener="#{richBean.valueChangeListener}"
-
accesskey="#{richInputNumberSpinnerBean.attributes['accesskey'].value}"
cycled="#{richInputNumberSpinnerBean.attributes['cycled'].value}"
dir="#{richInputNumberSpinnerBean.attributes['dir'].value}"
@@ -74,6 +72,9 @@
oninputmouseout="#{richInputNumberSpinnerBean.attributes['oninputmouseout'].value}"
oninputmouseover="#{richInputNumberSpinnerBean.attributes['oninputmouseover'].value}"
oninputmouseup="#{richInputNumberSpinnerBean.attributes['oninputmouseup'].value}"
+ onkeydown="#{richInputNumberSpinnerBean.attributes['onkeydown'].value}"
+ onkeypress="#{richInputNumberSpinnerBean.attributes['onkeypress'].value}"
+ onkeyup="#{richInputNumberSpinnerBean.attributes['onkeyup'].value}"
onmousedown="#{richInputNumberSpinnerBean.attributes['onmousedown'].value}"
onmousemove="#{richInputNumberSpinnerBean.attributes['onmousemove'].value}"
onmouseout="#{richInputNumberSpinnerBean.attributes['onmouseout'].value}"
@@ -81,14 +82,16 @@
onmouseup="#{richInputNumberSpinnerBean.attributes['onmouseup'].value}"
onselect="#{richInputNumberSpinnerBean.attributes['onselect'].value}"
onupclick="#{richInputNumberSpinnerBean.attributes['onupclick'].value}"
- readonly="#{richInputNumberSpinnerBean.attributes['readonly'].value}"
rendered="#{richInputNumberSpinnerBean.attributes['rendered'].value}"
+ required="#{richInputNumberSpinnerBean.attributes['required'].value}"
+ requiredMessage="#{richInputNumberSpinnerBean.attributes['requiredMessage'].value}"
step="#{richInputNumberSpinnerBean.attributes['step'].value}"
style="#{richInputNumberSpinnerBean.attributes['style'].value}"
styleClass="#{richInputNumberSpinnerBean.attributes['styleClass'].value}"
tabindex="#{richInputNumberSpinnerBean.attributes['tabindex'].value}"
title="#{richInputNumberSpinnerBean.attributes['title'].value}"
value="#{richInputNumberSpinnerBean.attributes['value'].value}"
+ valueChangeListener="#{richBean.valueChangeListener}"
>
<f:ajax event="change" render="output :phasesPanel" />
13 years, 9 months