initial commit
This commit is contained in:
393
WebRoot/WEB-INF/tlds/c-1_0-rt.tld
Normal file
393
WebRoot/WEB-INF/tlds/c-1_0-rt.tld
Normal file
@@ -0,0 +1,393 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
||||
<!DOCTYPE taglib
|
||||
PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
|
||||
"http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
|
||||
<taglib>
|
||||
<tlib-version>1.0</tlib-version>
|
||||
<jsp-version>1.2</jsp-version>
|
||||
<short-name>c_rt</short-name>
|
||||
<uri>http://java.sun.com/jstl/core_rt</uri>
|
||||
<display-name>JSTL core RT</display-name>
|
||||
<description>JSTL 1.0 core library</description>
|
||||
|
||||
<validator>
|
||||
<validator-class>
|
||||
org.apache.taglibs.standard.tlv.JstlCoreTLV
|
||||
</validator-class>
|
||||
<description>
|
||||
Provides core validation features for JSTL tags.
|
||||
</description>
|
||||
</validator>
|
||||
|
||||
<tag>
|
||||
<name>catch</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.common.core.CatchTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Catches any Throwable that occurs in its body and optionally
|
||||
exposes it.
|
||||
</description>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>choose</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.common.core.ChooseTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Simple conditional tag that establishes a context for
|
||||
mutually exclusive conditional operations, marked by
|
||||
<when> and <otherwise>
|
||||
</description>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>if</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.IfTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Simple conditional tag, which evalutes its body if the
|
||||
supplied condition is true and optionally exposes a Boolean
|
||||
scripting variable representing the evaluation of this condition
|
||||
</description>
|
||||
<attribute>
|
||||
<name>test</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>boolean</type>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>import</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.ImportTag</tag-class>
|
||||
<tei-class>org.apache.taglibs.standard.tei.ImportTEI</tei-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Retrieves an absolute or relative URL and exposes its contents
|
||||
to either the page, a String in 'var', or a Reader in 'varReader'.
|
||||
</description>
|
||||
<attribute>
|
||||
<name>url</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>varReader</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>context</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>charEncoding</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>forEach</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.ForEachTag</tag-class>
|
||||
<tei-class>org.apache.taglibs.standard.tei.ForEachTEI</tei-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
The basic iteration tag, accepting many different
|
||||
collection types and supporting subsetting and other
|
||||
functionality
|
||||
</description>
|
||||
<attribute>
|
||||
<name>items</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>java.lang.Object</type>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>begin</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>int</type>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>end</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>int</type>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>step</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>int</type>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>varStatus</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>forTokens</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.ForTokensTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Iterates over tokens, separated by the supplied delimeters
|
||||
</description>
|
||||
<attribute>
|
||||
<name>items</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>java.lang.String</type>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>delims</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>java.lang.String</type>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>begin</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>int</type>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>end</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>int</type>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>step</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>int</type>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>varStatus</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>out</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.OutTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Like <%= ... >, but for expressions.
|
||||
</description>
|
||||
<attribute>
|
||||
<name>value</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>default</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>escapeXml</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
|
||||
<tag>
|
||||
<name>otherwise</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.common.core.OtherwiseTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Subtag of <choose> that follows <when> tags
|
||||
and runs only if all of the prior conditions evaluated to
|
||||
'false'
|
||||
</description>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>param</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.ParamTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Adds a parameter to a containing 'import' tag's URL.
|
||||
</description>
|
||||
<attribute>
|
||||
<name>name</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>value</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>redirect</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.RedirectTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Redirects to a new URL.
|
||||
</description>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>url</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>context</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>remove</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.common.core.RemoveTag</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<description>
|
||||
Removes a scoped variable (from a particular scope, if specified).
|
||||
</description>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>set</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.SetTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Sets the result of an expression evaluation in a 'scope'
|
||||
</description>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>value</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>target</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>property</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>url</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.UrlTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Creates a URL with optional query parameters.
|
||||
</description>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>value</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>context</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>when</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.WhenTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Subtag of <choose> that includes its body if its
|
||||
condition evalutes to 'true'
|
||||
</description>
|
||||
<attribute>
|
||||
<name>test</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>boolean</type>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
</taglib>
|
||||
416
WebRoot/WEB-INF/tlds/c-1_0.tld
Normal file
416
WebRoot/WEB-INF/tlds/c-1_0.tld
Normal file
@@ -0,0 +1,416 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
||||
<!DOCTYPE taglib
|
||||
PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
|
||||
"http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
|
||||
<taglib>
|
||||
<tlib-version>1.0</tlib-version>
|
||||
<jsp-version>1.2</jsp-version>
|
||||
<short-name>c</short-name>
|
||||
<uri>http://java.sun.com/jstl/core</uri>
|
||||
<display-name>JSTL core</display-name>
|
||||
<description>JSTL 1.0 core library</description>
|
||||
|
||||
<validator>
|
||||
<validator-class>
|
||||
org.apache.taglibs.standard.tlv.JstlCoreTLV
|
||||
</validator-class>
|
||||
<init-param>
|
||||
<param-name>expressionAttributes</param-name>
|
||||
<param-value>
|
||||
out:value
|
||||
out:default
|
||||
out:escapeXml
|
||||
if:test
|
||||
import:url
|
||||
import:context
|
||||
import:charEncoding
|
||||
forEach:items
|
||||
forEach:begin
|
||||
forEach:end
|
||||
forEach:step
|
||||
forTokens:items
|
||||
forTokens:begin
|
||||
forTokens:end
|
||||
forTokens:step
|
||||
param:encode
|
||||
param:name
|
||||
param:value
|
||||
redirect:context
|
||||
redirect:url
|
||||
set:property
|
||||
set:target
|
||||
set:value
|
||||
url:context
|
||||
url:value
|
||||
when:test
|
||||
</param-value>
|
||||
<description>
|
||||
Whitespace-separated list of colon-separated token pairs
|
||||
describing tag:attribute combinations that accept expressions.
|
||||
The validator uses this information to determine which
|
||||
attributes need their syntax validated.
|
||||
</description>
|
||||
</init-param>
|
||||
</validator>
|
||||
|
||||
<tag>
|
||||
<name>catch</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.common.core.CatchTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Catches any Throwable that occurs in its body and optionally
|
||||
exposes it.
|
||||
</description>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>choose</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.common.core.ChooseTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Simple conditional tag that establishes a context for
|
||||
mutually exclusive conditional operations, marked by
|
||||
<when> and <otherwise>
|
||||
</description>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>out</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.el.core.OutTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Like <%= ... >, but for expressions.
|
||||
</description>
|
||||
<attribute>
|
||||
<name>value</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>default</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>escapeXml</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>if</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.el.core.IfTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Simple conditional tag, which evalutes its body if the
|
||||
supplied condition is true and optionally exposes a Boolean
|
||||
scripting variable representing the evaluation of this condition
|
||||
</description>
|
||||
<attribute>
|
||||
<name>test</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>import</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.el.core.ImportTag</tag-class>
|
||||
<tei-class>org.apache.taglibs.standard.tei.ImportTEI</tei-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Retrieves an absolute or relative URL and exposes its contents
|
||||
to either the page, a String in 'var', or a Reader in 'varReader'.
|
||||
</description>
|
||||
<attribute>
|
||||
<name>url</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>varReader</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>context</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>charEncoding</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>forEach</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.el.core.ForEachTag</tag-class>
|
||||
<tei-class>org.apache.taglibs.standard.tei.ForEachTEI</tei-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
The basic iteration tag, accepting many different
|
||||
collection types and supporting subsetting and other
|
||||
functionality
|
||||
</description>
|
||||
<attribute>
|
||||
<name>items</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>begin</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>end</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>step</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>varStatus</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>forTokens</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.el.core.ForTokensTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Iterates over tokens, separated by the supplied delimeters
|
||||
</description>
|
||||
<attribute>
|
||||
<name>items</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>delims</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>begin</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>end</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>step</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>varStatus</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>otherwise</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.common.core.OtherwiseTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Subtag of <choose> that follows <when> tags
|
||||
and runs only if all of the prior conditions evaluated to
|
||||
'false'
|
||||
</description>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>param</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.el.core.ParamTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Adds a parameter to a containing 'import' tag's URL.
|
||||
</description>
|
||||
<attribute>
|
||||
<name>name</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>value</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>redirect</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.el.core.RedirectTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Redirects to a new URL.
|
||||
</description>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>url</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>context</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>remove</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.common.core.RemoveTag</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<description>
|
||||
Removes a scoped variable (from a particular scope, if specified).
|
||||
</description>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>set</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.el.core.SetTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Sets the result of an expression evaluation in a 'scope'
|
||||
</description>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>value</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>target</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>property</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>url</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.el.core.UrlTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Prints or exposes a URL with optional query parameters
|
||||
(via the c:param tag).
|
||||
</description>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>value</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>context</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>when</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.el.core.WhenTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Subtag of <choose> that includes its body if its
|
||||
condition evalutes to 'true'
|
||||
</description>
|
||||
<attribute>
|
||||
<name>test</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
</taglib>
|
||||
563
WebRoot/WEB-INF/tlds/c.tld
Normal file
563
WebRoot/WEB-INF/tlds/c.tld
Normal file
@@ -0,0 +1,563 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<taglib xmlns="http://java.sun.com/xml/ns/j2ee"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
|
||||
version="2.0">
|
||||
|
||||
<description>JSTL 1.1 core library</description>
|
||||
<display-name>JSTL core</display-name>
|
||||
<tlib-version>1.1</tlib-version>
|
||||
<short-name>c</short-name>
|
||||
<uri>http://java.sun.com/jsp/jstl/core</uri>
|
||||
|
||||
<validator>
|
||||
<description>
|
||||
Provides core validation features for JSTL tags.
|
||||
</description>
|
||||
<validator-class>
|
||||
org.apache.taglibs.standard.tlv.JstlCoreTLV
|
||||
</validator-class>
|
||||
</validator>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Catches any Throwable that occurs in its body and optionally
|
||||
exposes it.
|
||||
</description>
|
||||
<name>catch</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.common.core.CatchTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable for the
|
||||
exception thrown from a nested action. The type of the
|
||||
scoped variable is the type of the exception thrown.
|
||||
</description>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Simple conditional tag that establishes a context for
|
||||
mutually exclusive conditional operations, marked by
|
||||
<when> and <otherwise>
|
||||
</description>
|
||||
<name>choose</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.common.core.ChooseTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Simple conditional tag, which evalutes its body if the
|
||||
supplied condition is true and optionally exposes a Boolean
|
||||
scripting variable representing the evaluation of this condition
|
||||
</description>
|
||||
<name>if</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.IfTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
The test condition that determines whether or
|
||||
not the body content should be processed.
|
||||
</description>
|
||||
<name>test</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>boolean</type>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable for the
|
||||
resulting value of the test condition. The type
|
||||
of the scoped variable is Boolean.
|
||||
</description>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Scope for var.
|
||||
</description>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Retrieves an absolute or relative URL and exposes its contents
|
||||
to either the page, a String in 'var', or a Reader in 'varReader'.
|
||||
</description>
|
||||
<name>import</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.ImportTag</tag-class>
|
||||
<tei-class>org.apache.taglibs.standard.tei.ImportTEI</tei-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
The URL of the resource to import.
|
||||
</description>
|
||||
<name>url</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable for the
|
||||
resource's content. The type of the scoped
|
||||
variable is String.
|
||||
</description>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Scope for var.
|
||||
</description>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable for the
|
||||
resource's content. The type of the scoped
|
||||
variable is Reader.
|
||||
</description>
|
||||
<name>varReader</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the context when accessing a relative
|
||||
URL resource that belongs to a foreign
|
||||
context.
|
||||
</description>
|
||||
<name>context</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Character encoding of the content at the input
|
||||
resource.
|
||||
</description>
|
||||
<name>charEncoding</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
The basic iteration tag, accepting many different
|
||||
collection types and supporting subsetting and other
|
||||
functionality
|
||||
</description>
|
||||
<name>forEach</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.ForEachTag</tag-class>
|
||||
<tei-class>org.apache.taglibs.standard.tei.ForEachTEI</tei-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Collection of items to iterate over.
|
||||
</description>
|
||||
<name>items</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>java.lang.Object</type>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
If items specified:
|
||||
Iteration begins at the item located at the
|
||||
specified index. First item of the collection has
|
||||
index 0.
|
||||
If items not specified:
|
||||
Iteration begins with index set at the value
|
||||
specified.
|
||||
</description>
|
||||
<name>begin</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>int</type>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
If items specified:
|
||||
Iteration ends at the item located at the
|
||||
specified index (inclusive).
|
||||
If items not specified:
|
||||
Iteration ends when index reaches the value
|
||||
specified.
|
||||
</description>
|
||||
<name>end</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>int</type>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Iteration will only process every step items of
|
||||
the collection, starting with the first one.
|
||||
</description>
|
||||
<name>step</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>int</type>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable for the
|
||||
current item of the iteration. This scoped
|
||||
variable has nested visibility. Its type depends
|
||||
on the object of the underlying collection.
|
||||
</description>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable for the
|
||||
status of the iteration. Object exported is of type
|
||||
javax.servlet.jsp.jstl.core.LoopTagStatus. This scoped variable has nested
|
||||
visibility.
|
||||
</description>
|
||||
<name>varStatus</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Iterates over tokens, separated by the supplied delimeters
|
||||
</description>
|
||||
<name>forTokens</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.ForTokensTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
String of tokens to iterate over.
|
||||
</description>
|
||||
<name>items</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>java.lang.String</type>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
The set of delimiters (the characters that
|
||||
separate the tokens in the string).
|
||||
</description>
|
||||
<name>delims</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>java.lang.String</type>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Iteration begins at the token located at the
|
||||
specified index. First token has index 0.
|
||||
</description>
|
||||
<name>begin</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>int</type>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Iteration ends at the token located at the
|
||||
specified index (inclusive).
|
||||
</description>
|
||||
<name>end</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>int</type>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Iteration will only process every step tokens
|
||||
of the string, starting with the first one.
|
||||
</description>
|
||||
<name>step</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>int</type>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable for the
|
||||
current item of the iteration. This scoped
|
||||
variable has nested visibility.
|
||||
</description>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable for the
|
||||
status of the iteration. Object exported is of
|
||||
type
|
||||
javax.servlet.jsp.jstl.core.LoopTag
|
||||
Status. This scoped variable has nested
|
||||
visibility.
|
||||
</description>
|
||||
<name>varStatus</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Like <%= ... >, but for expressions.
|
||||
</description>
|
||||
<name>out</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.OutTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Expression to be evaluated.
|
||||
</description>
|
||||
<name>value</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Default value if the resulting value is null.
|
||||
</description>
|
||||
<name>default</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Determines whether characters <,>,&,'," in the
|
||||
resulting string should be converted to their
|
||||
corresponding character entity codes. Default value is
|
||||
true.
|
||||
</description>
|
||||
<name>escapeXml</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Subtag of <choose> that follows <when> tags
|
||||
and runs only if all of the prior conditions evaluated to
|
||||
'false'
|
||||
</description>
|
||||
<name>otherwise</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.common.core.OtherwiseTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Adds a parameter to a containing 'import' tag's URL.
|
||||
</description>
|
||||
<name>param</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.ParamTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the query string parameter.
|
||||
</description>
|
||||
<name>name</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Value of the parameter.
|
||||
</description>
|
||||
<name>value</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Redirects to a new URL.
|
||||
</description>
|
||||
<name>redirect</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.RedirectTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
The URL of the resource to redirect to.
|
||||
</description>
|
||||
<name>url</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the context when redirecting to a relative URL
|
||||
resource that belongs to a foreign context.
|
||||
</description>
|
||||
<name>context</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Removes a scoped variable (from a particular scope, if specified).
|
||||
</description>
|
||||
<name>remove</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.common.core.RemoveTag</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the scoped variable to be removed.
|
||||
</description>
|
||||
<name>var</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Scope for var.
|
||||
</description>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Sets the result of an expression evaluation in a 'scope'
|
||||
</description>
|
||||
<name>set</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.SetTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable to hold the value
|
||||
specified in the action. The type of the scoped variable is
|
||||
whatever type the value expression evaluates to.
|
||||
</description>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Expression to be evaluated.
|
||||
</description>
|
||||
<name>value</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Target object whose property will be set. Must evaluate to
|
||||
a JavaBeans object with setter property property, or to a
|
||||
java.util.Map object.
|
||||
</description>
|
||||
<name>target</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the property to be set in the target object.
|
||||
</description>
|
||||
<name>property</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Scope for var.
|
||||
</description>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Creates a URL with optional query parameters.
|
||||
</description>
|
||||
<name>url</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.UrlTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable for the
|
||||
processed url. The type of the scoped variable is
|
||||
String.
|
||||
</description>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Scope for var.
|
||||
</description>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
URL to be processed.
|
||||
</description>
|
||||
<name>value</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the context when specifying a relative URL
|
||||
resource that belongs to a foreign context.
|
||||
</description>
|
||||
<name>context</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Subtag of <choose> that includes its body if its
|
||||
condition evalutes to 'true'
|
||||
</description>
|
||||
<name>when</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.WhenTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
The test condition that determines whether or not the
|
||||
body content should be processed.
|
||||
</description>
|
||||
<name>test</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>boolean</type>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
</taglib>
|
||||
403
WebRoot/WEB-INF/tlds/fmt-1_0-rt.tld
Normal file
403
WebRoot/WEB-INF/tlds/fmt-1_0-rt.tld
Normal file
@@ -0,0 +1,403 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
||||
<!DOCTYPE taglib
|
||||
PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
|
||||
"http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
|
||||
<taglib>
|
||||
<tlib-version>1.0</tlib-version>
|
||||
<jsp-version>1.2</jsp-version>
|
||||
<short-name>fmt_rt</short-name>
|
||||
<uri>http://java.sun.com/jstl/fmt_rt</uri>
|
||||
<display-name>JSTL fmt RT</display-name>
|
||||
<description>JSTL 1.0 i18n-capable formatting library</description>
|
||||
|
||||
<validator>
|
||||
<validator-class>
|
||||
org.apache.taglibs.standard.tlv.JstlFmtTLV
|
||||
</validator-class>
|
||||
<description>
|
||||
Provides core validation features for JSTL tags.
|
||||
</description>
|
||||
</validator>
|
||||
|
||||
<tag>
|
||||
<name>requestEncoding</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.fmt.RequestEncodingTag</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<description>
|
||||
Sets the request character encoding
|
||||
</description>
|
||||
<attribute>
|
||||
<name>value</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>setLocale</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.fmt.SetLocaleTag</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<description>
|
||||
Stores the given locale in the locale configuration variable
|
||||
</description>
|
||||
<attribute>
|
||||
<name>value</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>variant</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>timeZone</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.fmt.TimeZoneTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Specifies the time zone for any time formatting or parsing actions
|
||||
nested in its body
|
||||
</description>
|
||||
<attribute>
|
||||
<name>value</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>setTimeZone</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.fmt.SetTimeZoneTag</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<description>
|
||||
Stores the given time zone in the time zone configuration variable
|
||||
</description>
|
||||
<attribute>
|
||||
<name>value</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>bundle</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.fmt.BundleTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Loads a resource bundle to be used by its tag body
|
||||
</description>
|
||||
<attribute>
|
||||
<name>basename</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>prefix</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>setBundle</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.fmt.SetBundleTag</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<description>
|
||||
Loads a resource bundle and stores it in the named scoped variable or
|
||||
the bundle configuration variable
|
||||
</description>
|
||||
<attribute>
|
||||
<name>basename</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>message</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.fmt.MessageTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Maps key to localized message and performs parametric replacement
|
||||
</description>
|
||||
<attribute>
|
||||
<name>key</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>bundle</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>param</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.fmt.ParamTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Supplies an argument for parametric replacement to a containing
|
||||
<message> tag
|
||||
</description>
|
||||
<attribute>
|
||||
<name>value</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>formatNumber</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.fmt.FormatNumberTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Formats a numeric value as a number, currency, or percentage
|
||||
</description>
|
||||
<attribute>
|
||||
<name>value</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>type</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>pattern</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>currencyCode</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>currencySymbol</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>groupingUsed</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>maxIntegerDigits</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>minIntegerDigits</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>maxFractionDigits</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>minFractionDigits</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>parseNumber</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.fmt.ParseNumberTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Parses the string representation of a number, currency, or percentage
|
||||
</description>
|
||||
<attribute>
|
||||
<name>value</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>type</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>pattern</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>parseLocale</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>integerOnly</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>formatDate</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.fmt.FormatDateTag</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<description>
|
||||
Formats a date and/or time using the supplied styles and pattern
|
||||
</description>
|
||||
<attribute>
|
||||
<name>value</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>type</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>dateStyle</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>timeStyle</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>pattern</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>timeZone</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>parseDate</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.fmt.ParseDateTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Parses the string representation of a date and/or time
|
||||
</description>
|
||||
<attribute>
|
||||
<name>value</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>type</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>dateStyle</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>timeStyle</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>pattern</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>timeZone</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>parseLocale</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
</taglib>
|
||||
442
WebRoot/WEB-INF/tlds/fmt-1_0.tld
Normal file
442
WebRoot/WEB-INF/tlds/fmt-1_0.tld
Normal file
@@ -0,0 +1,442 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
||||
<!DOCTYPE taglib
|
||||
PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
|
||||
"http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
|
||||
<taglib>
|
||||
<tlib-version>1.0</tlib-version>
|
||||
<jsp-version>1.2</jsp-version>
|
||||
<short-name>fmt</short-name>
|
||||
<uri>http://java.sun.com/jstl/fmt</uri>
|
||||
<display-name>JSTL fmt</display-name>
|
||||
<description>JSTL 1.0 i18n-capable formatting library</description>
|
||||
|
||||
<validator>
|
||||
<validator-class>
|
||||
org.apache.taglibs.standard.tlv.JstlFmtTLV
|
||||
</validator-class>
|
||||
<init-param>
|
||||
<param-name>expressionAttributes</param-name>
|
||||
<param-value>
|
||||
requestEncoding:value
|
||||
setLocale:value
|
||||
setLocale:variant
|
||||
timeZone:value
|
||||
setTimeZone:value
|
||||
bundle:basename
|
||||
bundle:prefix
|
||||
setBundle:basename
|
||||
message:key
|
||||
message:bundle
|
||||
param:value
|
||||
formatNumber:value
|
||||
formatNumber:pattern
|
||||
formatNumber:currencyCode
|
||||
formatNumber:currencySymbol
|
||||
formatNumber:groupingUsed
|
||||
formatNumber:maxIntegerDigits
|
||||
formatNumber:minIntegerDigits
|
||||
formatNumber:maxFractionDigits
|
||||
formatNumber:minFractionDigits
|
||||
parseNumber:value
|
||||
parseNumber:pattern
|
||||
parseNumber:parseLocale
|
||||
parseNumber:integerOnly
|
||||
formatDate:value
|
||||
formatDate:pattern
|
||||
formatDate:timeZone
|
||||
parseDate:value
|
||||
parseDate:pattern
|
||||
parseDate:timeZone
|
||||
parseDate:parseLocale
|
||||
</param-value>
|
||||
<description>
|
||||
Whitespace-separated list of colon-separated token pairs
|
||||
describing tag:attribute combinations that accept expressions.
|
||||
The validator uses this information to determine which
|
||||
attributes need their syntax validated.
|
||||
</description>
|
||||
</init-param>
|
||||
</validator>
|
||||
|
||||
<tag>
|
||||
<name>requestEncoding</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.el.fmt.RequestEncodingTag</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<description>
|
||||
Sets the request character encoding
|
||||
</description>
|
||||
<attribute>
|
||||
<name>value</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>setLocale</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.el.fmt.SetLocaleTag</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<description>
|
||||
Stores the given locale in the locale configuration variable
|
||||
</description>
|
||||
<attribute>
|
||||
<name>value</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>variant</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>timeZone</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.el.fmt.TimeZoneTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Specifies the time zone for any time formatting or parsing actions
|
||||
nested in its body
|
||||
</description>
|
||||
<attribute>
|
||||
<name>value</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>setTimeZone</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.el.fmt.SetTimeZoneTag</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<description>
|
||||
Stores the given time zone in the time zone configuration variable
|
||||
</description>
|
||||
<attribute>
|
||||
<name>value</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>bundle</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.el.fmt.BundleTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Loads a resource bundle to be used by its tag body
|
||||
</description>
|
||||
<attribute>
|
||||
<name>basename</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>prefix</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>setBundle</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.el.fmt.SetBundleTag</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<description>
|
||||
Loads a resource bundle and stores it in the named scoped variable or
|
||||
the bundle configuration variable
|
||||
</description>
|
||||
<attribute>
|
||||
<name>basename</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>message</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.el.fmt.MessageTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Maps key to localized message and performs parametric replacement
|
||||
</description>
|
||||
<attribute>
|
||||
<name>key</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>bundle</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>param</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.el.fmt.ParamTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Supplies an argument for parametric replacement to a containing
|
||||
<message> tag
|
||||
</description>
|
||||
<attribute>
|
||||
<name>value</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>formatNumber</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.el.fmt.FormatNumberTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Formats a numeric value as a number, currency, or percentage
|
||||
</description>
|
||||
<attribute>
|
||||
<name>value</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>type</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>pattern</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>currencyCode</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>currencySymbol</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>groupingUsed</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>maxIntegerDigits</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>minIntegerDigits</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>maxFractionDigits</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>minFractionDigits</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>parseNumber</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.el.fmt.ParseNumberTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Parses the string representation of a number, currency, or percentage
|
||||
</description>
|
||||
<attribute>
|
||||
<name>value</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>type</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>pattern</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>parseLocale</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>integerOnly</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>formatDate</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.el.fmt.FormatDateTag</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<description>
|
||||
Formats a date and/or time using the supplied styles and pattern
|
||||
</description>
|
||||
<attribute>
|
||||
<name>value</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>type</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>dateStyle</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>timeStyle</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>pattern</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>timeZone</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>parseDate</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.el.fmt.ParseDateTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Parses the string representation of a date and/or time
|
||||
</description>
|
||||
<attribute>
|
||||
<name>value</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>type</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>dateStyle</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>timeStyle</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>pattern</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>timeZone</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>parseLocale</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
</taglib>
|
||||
671
WebRoot/WEB-INF/tlds/fmt.tld
Normal file
671
WebRoot/WEB-INF/tlds/fmt.tld
Normal file
@@ -0,0 +1,671 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<taglib xmlns="http://java.sun.com/xml/ns/j2ee"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
|
||||
version="2.0">
|
||||
|
||||
<description>JSTL 1.1 i18n-capable formatting library</description>
|
||||
<display-name>JSTL fmt</display-name>
|
||||
<tlib-version>1.1</tlib-version>
|
||||
<short-name>fmt</short-name>
|
||||
<uri>http://java.sun.com/jsp/jstl/fmt</uri>
|
||||
|
||||
<validator>
|
||||
<description>
|
||||
Provides core validation features for JSTL tags.
|
||||
</description>
|
||||
<validator-class>
|
||||
org.apache.taglibs.standard.tlv.JstlFmtTLV
|
||||
</validator-class>
|
||||
</validator>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Sets the request character encoding
|
||||
</description>
|
||||
<name>requestEncoding</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.fmt.RequestEncodingTag</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of character encoding to be applied when
|
||||
decoding request parameters.
|
||||
</description>
|
||||
<name>value</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Stores the given locale in the locale configuration variable
|
||||
</description>
|
||||
<name>setLocale</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.fmt.SetLocaleTag</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
A String value is interpreted as the
|
||||
printable representation of a locale, which
|
||||
must contain a two-letter (lower-case)
|
||||
language code (as defined by ISO-639),
|
||||
and may contain a two-letter (upper-case)
|
||||
country code (as defined by ISO-3166).
|
||||
Language and country codes must be
|
||||
separated by hyphen (-) or underscore
|
||||
(_).
|
||||
</description>
|
||||
<name>value</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Vendor- or browser-specific variant.
|
||||
See the java.util.Locale javadocs for
|
||||
more information on variants.
|
||||
</description>
|
||||
<name>variant</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Scope of the locale configuration variable.
|
||||
</description>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Specifies the time zone for any time formatting or parsing actions
|
||||
nested in its body
|
||||
</description>
|
||||
<name>timeZone</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.fmt.TimeZoneTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
The time zone. A String value is interpreted as
|
||||
a time zone ID. This may be one of the time zone
|
||||
IDs supported by the Java platform (such as
|
||||
"America/Los_Angeles") or a custom time zone
|
||||
ID (such as "GMT-8"). See
|
||||
java.util.TimeZone for more information on
|
||||
supported time zone formats.
|
||||
</description>
|
||||
<name>value</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Stores the given time zone in the time zone configuration variable
|
||||
</description>
|
||||
<name>setTimeZone</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.fmt.SetTimeZoneTag</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
The time zone. A String value is interpreted as
|
||||
a time zone ID. This may be one of the time zone
|
||||
IDs supported by the Java platform (such as
|
||||
"America/Los_Angeles") or a custom time zone
|
||||
ID (such as "GMT-8"). See java.util.TimeZone for
|
||||
more information on supported time zone
|
||||
formats.
|
||||
</description>
|
||||
<name>value</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable which
|
||||
stores the time zone of type
|
||||
java.util.TimeZone.
|
||||
</description>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Scope of var or the time zone configuration
|
||||
variable.
|
||||
</description>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Loads a resource bundle to be used by its tag body
|
||||
</description>
|
||||
<name>bundle</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.fmt.BundleTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Resource bundle base name. This is the bundle's
|
||||
fully-qualified resource name, which has the same
|
||||
form as a fully-qualified class name, that is, it uses
|
||||
"." as the package component separator and does not
|
||||
have any file type (such as ".class" or ".properties")
|
||||
suffix.
|
||||
</description>
|
||||
<name>basename</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Prefix to be prepended to the value of the message
|
||||
key of any nested <fmt:message> action.
|
||||
</description>
|
||||
<name>prefix</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Loads a resource bundle and stores it in the named scoped variable or
|
||||
the bundle configuration variable
|
||||
</description>
|
||||
<name>setBundle</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.fmt.SetBundleTag</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Resource bundle base name. This is the bundle's
|
||||
fully-qualified resource name, which has the same
|
||||
form as a fully-qualified class name, that is, it uses
|
||||
"." as the package component separator and does not
|
||||
have any file type (such as ".class" or ".properties")
|
||||
suffix.
|
||||
</description>
|
||||
<name>basename</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable which stores
|
||||
the i18n localization context of type
|
||||
javax.servlet.jsp.jstl.fmt.LocalizationC
|
||||
ontext.
|
||||
</description>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Scope of var or the localization context
|
||||
configuration variable.
|
||||
</description>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Maps key to localized message and performs parametric replacement
|
||||
</description>
|
||||
<name>message</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.fmt.MessageTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Message key to be looked up.
|
||||
</description>
|
||||
<name>key</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Localization context in whose resource
|
||||
bundle the message key is looked up.
|
||||
</description>
|
||||
<name>bundle</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable
|
||||
which stores the localized message.
|
||||
</description>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Scope of var.
|
||||
</description>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Supplies an argument for parametric replacement to a containing
|
||||
<message> tag
|
||||
</description>
|
||||
<name>param</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.fmt.ParamTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Argument used for parametric replacement.
|
||||
</description>
|
||||
<name>value</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Formats a numeric value as a number, currency, or percentage
|
||||
</description>
|
||||
<name>formatNumber</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.fmt.FormatNumberTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Numeric value to be formatted.
|
||||
</description>
|
||||
<name>value</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Specifies whether the value is to be
|
||||
formatted as number, currency, or
|
||||
percentage.
|
||||
</description>
|
||||
<name>type</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Custom formatting pattern.
|
||||
</description>
|
||||
<name>pattern</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
ISO 4217 currency code. Applied only
|
||||
when formatting currencies (i.e. if type is
|
||||
equal to "currency"); ignored otherwise.
|
||||
</description>
|
||||
<name>currencyCode</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Currency symbol. Applied only when
|
||||
formatting currencies (i.e. if type is equal
|
||||
to "currency"); ignored otherwise.
|
||||
</description>
|
||||
<name>currencySymbol</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Specifies whether the formatted output
|
||||
will contain any grouping separators.
|
||||
</description>
|
||||
<name>groupingUsed</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Maximum number of digits in the integer
|
||||
portion of the formatted output.
|
||||
</description>
|
||||
<name>maxIntegerDigits</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Minimum number of digits in the integer
|
||||
portion of the formatted output.
|
||||
</description>
|
||||
<name>minIntegerDigits</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Maximum number of digits in the
|
||||
fractional portion of the formatted output.
|
||||
</description>
|
||||
<name>maxFractionDigits</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Minimum number of digits in the
|
||||
fractional portion of the formatted output.
|
||||
</description>
|
||||
<name>minFractionDigits</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable
|
||||
which stores the formatted result as a
|
||||
String.
|
||||
</description>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Scope of var.
|
||||
</description>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Parses the string representation of a number, currency, or percentage
|
||||
</description>
|
||||
<name>parseNumber</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.fmt.ParseNumberTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
String to be parsed.
|
||||
</description>
|
||||
<name>value</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Specifies whether the string in the value
|
||||
attribute should be parsed as a number,
|
||||
currency, or percentage.
|
||||
</description>
|
||||
<name>type</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Custom formatting pattern that determines
|
||||
how the string in the value attribute is to be
|
||||
parsed.
|
||||
</description>
|
||||
<name>pattern</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Locale whose default formatting pattern (for
|
||||
numbers, currencies, or percentages,
|
||||
respectively) is to be used during the parse
|
||||
operation, or to which the pattern specified
|
||||
via the pattern attribute (if present) is
|
||||
applied.
|
||||
</description>
|
||||
<name>parseLocale</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Specifies whether just the integer portion of
|
||||
the given value should be parsed.
|
||||
</description>
|
||||
<name>integerOnly</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable which
|
||||
stores the parsed result (of type
|
||||
java.lang.Number).
|
||||
</description>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Scope of var.
|
||||
</description>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Formats a date and/or time using the supplied styles and pattern
|
||||
</description>
|
||||
<name>formatDate</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.fmt.FormatDateTag</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Date and/or time to be formatted.
|
||||
</description>
|
||||
<name>value</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Specifies whether the time, the date, or both
|
||||
the time and date components of the given
|
||||
date are to be formatted.
|
||||
</description>
|
||||
<name>type</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Predefined formatting style for dates. Follows
|
||||
the semantics defined in class
|
||||
java.text.DateFormat. Applied only
|
||||
when formatting a date or both a date and
|
||||
time (i.e. if type is missing or is equal to
|
||||
"date" or "both"); ignored otherwise.
|
||||
</description>
|
||||
<name>dateStyle</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Predefined formatting style for times. Follows
|
||||
the semantics defined in class
|
||||
java.text.DateFormat. Applied only
|
||||
when formatting a time or both a date and
|
||||
time (i.e. if type is equal to "time" or "both");
|
||||
ignored otherwise.
|
||||
</description>
|
||||
<name>timeStyle</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Custom formatting style for dates and times.
|
||||
</description>
|
||||
<name>pattern</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Time zone in which to represent the formatted
|
||||
time.
|
||||
</description>
|
||||
<name>timeZone</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable which
|
||||
stores the formatted result as a String.
|
||||
</description>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Scope of var.
|
||||
</description>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Parses the string representation of a date and/or time
|
||||
</description>
|
||||
<name>parseDate</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.fmt.ParseDateTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Date string to be parsed.
|
||||
</description>
|
||||
<name>value</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Specifies whether the date string in the
|
||||
value attribute is supposed to contain a
|
||||
time, a date, or both.
|
||||
</description>
|
||||
<name>type</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Predefined formatting style for days
|
||||
which determines how the date
|
||||
component of the date string is to be
|
||||
parsed. Applied only when formatting a
|
||||
date or both a date and time (i.e. if type
|
||||
is missing or is equal to "date" or "both");
|
||||
ignored otherwise.
|
||||
</description>
|
||||
<name>dateStyle</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Predefined formatting styles for times
|
||||
which determines how the time
|
||||
component in the date string is to be
|
||||
parsed. Applied only when formatting a
|
||||
time or both a date and time (i.e. if type
|
||||
is equal to "time" or "both"); ignored
|
||||
otherwise.
|
||||
</description>
|
||||
<name>timeStyle</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Custom formatting pattern which
|
||||
determines how the date string is to be
|
||||
parsed.
|
||||
</description>
|
||||
<name>pattern</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Time zone in which to interpret any time
|
||||
information in the date string.
|
||||
</description>
|
||||
<name>timeZone</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Locale whose predefined formatting styles
|
||||
for dates and times are to be used during
|
||||
the parse operation, or to which the
|
||||
pattern specified via the pattern
|
||||
attribute (if present) is applied.
|
||||
</description>
|
||||
<name>parseLocale</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable in
|
||||
which the parsing result (of type
|
||||
java.util.Date) is stored.
|
||||
</description>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Scope of var.
|
||||
</description>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
</taglib>
|
||||
207
WebRoot/WEB-INF/tlds/fn.tld
Normal file
207
WebRoot/WEB-INF/tlds/fn.tld
Normal file
@@ -0,0 +1,207 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<taglib xmlns="http://java.sun.com/xml/ns/j2ee"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
|
||||
version="2.0">
|
||||
|
||||
<description>JSTL 1.1 functions library</description>
|
||||
<display-name>JSTL functions</display-name>
|
||||
<tlib-version>1.1</tlib-version>
|
||||
<short-name>fn</short-name>
|
||||
<uri>http://java.sun.com/jsp/jstl/functions</uri>
|
||||
|
||||
<function>
|
||||
<description>
|
||||
Tests if an input string contains the specified substring.
|
||||
</description>
|
||||
<name>contains</name>
|
||||
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||
<function-signature>boolean contains(java.lang.String, java.lang.String)</function-signature>
|
||||
<example>
|
||||
<c:if test="${fn:contains(name, searchString)}">
|
||||
</example>
|
||||
</function>
|
||||
|
||||
<function>
|
||||
<description>
|
||||
Tests if an input string contains the specified substring in a case insensitive way.
|
||||
</description>
|
||||
<name>containsIgnoreCase</name>
|
||||
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||
<function-signature>boolean containsIgnoreCase(java.lang.String, java.lang.String)</function-signature>
|
||||
<example>
|
||||
<c:if test="${fn:containsIgnoreCase(name, searchString)}">
|
||||
</example>
|
||||
</function>
|
||||
|
||||
<function>
|
||||
<description>
|
||||
Tests if an input string ends with the specified suffix.
|
||||
</description>
|
||||
<name>endsWith</name>
|
||||
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||
<function-signature>boolean endsWith(java.lang.String, java.lang.String)</function-signature>
|
||||
<example>
|
||||
<c:if test="${fn:endsWith(filename, ".txt")}">
|
||||
</example>
|
||||
</function>
|
||||
|
||||
<function>
|
||||
<description>
|
||||
Escapes characters that could be interpreted as XML markup.
|
||||
</description>
|
||||
<name>escapeXml</name>
|
||||
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||
<function-signature>java.lang.String escapeXml(java.lang.String)</function-signature>
|
||||
<example>
|
||||
${fn:escapeXml(param:info)}
|
||||
</example>
|
||||
</function>
|
||||
|
||||
<function>
|
||||
<description>
|
||||
Returns the index withing a string of the first occurrence of a specified substring.
|
||||
</description>
|
||||
<name>indexOf</name>
|
||||
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||
<function-signature>int indexOf(java.lang.String, java.lang.String)</function-signature>
|
||||
<example>
|
||||
${fn:indexOf(name, "-")}
|
||||
</example>
|
||||
</function>
|
||||
|
||||
<function>
|
||||
<description>
|
||||
Joins all elements of an array into a string.
|
||||
</description>
|
||||
<name>join</name>
|
||||
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||
<function-signature>java.lang.String join(java.lang.String[], java.lang.String)</function-signature>
|
||||
<example>
|
||||
${fn:join(array, ";")}
|
||||
</example>
|
||||
</function>
|
||||
|
||||
<function>
|
||||
<description>
|
||||
Returns the number of items in a collection, or the number of characters in a string.
|
||||
</description>
|
||||
<name>length</name>
|
||||
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||
<function-signature>int length(java.lang.Object)</function-signature>
|
||||
<example>
|
||||
You have ${fn:length(shoppingCart.products)} in your shopping cart.
|
||||
</example>
|
||||
</function>
|
||||
|
||||
<function>
|
||||
<description>
|
||||
Returns a string resulting from replacing in an input string all occurrences
|
||||
of a "before" string into an "after" substring.
|
||||
</description>
|
||||
<name>replace</name>
|
||||
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||
<function-signature>java.lang.String replace(java.lang.String, java.lang.String, java.lang.String)</function-signature>
|
||||
<example>
|
||||
${fn:replace(text, "-", "•")}
|
||||
</example>
|
||||
</function>
|
||||
|
||||
<function>
|
||||
<description>
|
||||
Splits a string into an array of substrings.
|
||||
</description>
|
||||
<name>split</name>
|
||||
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||
<function-signature>java.lang.String[] split(java.lang.String, java.lang.String)</function-signature>
|
||||
<example>
|
||||
${fn:split(customerNames, ";")}
|
||||
</example>
|
||||
</function>
|
||||
|
||||
<function>
|
||||
<description>
|
||||
Tests if an input string starts with the specified prefix.
|
||||
</description>
|
||||
<name>startsWith</name>
|
||||
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||
<function-signature>boolean startsWith(java.lang.String, java.lang.String)</function-signature>
|
||||
<example>
|
||||
<c:if test="${fn:startsWith(product.id, "100-")}">
|
||||
</example>
|
||||
</function>
|
||||
|
||||
<function>
|
||||
<description>
|
||||
Returns a subset of a string.
|
||||
</description>
|
||||
<name>substring</name>
|
||||
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||
<function-signature>java.lang.String substring(java.lang.String, int, int)</function-signature>
|
||||
<example>
|
||||
P.O. Box: ${fn:substring(zip, 6, -1)}
|
||||
</example>
|
||||
</function>
|
||||
|
||||
<function>
|
||||
<description>
|
||||
Returns a subset of a string following a specific substring.
|
||||
</description>
|
||||
<name>substringAfter</name>
|
||||
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||
<function-signature>java.lang.String substringAfter(java.lang.String, java.lang.String)</function-signature>
|
||||
<example>
|
||||
P.O. Box: ${fn:substringAfter(zip, "-")}
|
||||
</example>
|
||||
</function>
|
||||
|
||||
<function>
|
||||
<description>
|
||||
Returns a subset of a string before a specific substring.
|
||||
</description>
|
||||
<name>substringBefore</name>
|
||||
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||
<function-signature>java.lang.String substringBefore(java.lang.String, java.lang.String)</function-signature>
|
||||
<example>
|
||||
Zip (without P.O. Box): ${fn:substringBefore(zip, "-")}
|
||||
</example>
|
||||
</function>
|
||||
|
||||
<function>
|
||||
<description>
|
||||
Converts all of the characters of a string to lower case.
|
||||
</description>
|
||||
<name>toLowerCase</name>
|
||||
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||
<function-signature>java.lang.String toLowerCase(java.lang.String)</function-signature>
|
||||
<example>
|
||||
Product name: ${fn.toLowerCase(product.name)}
|
||||
</example>
|
||||
</function>
|
||||
|
||||
<function>
|
||||
<description>
|
||||
Converts all of the characters of a string to upper case.
|
||||
</description>
|
||||
<name>toUpperCase</name>
|
||||
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||
<function-signature>java.lang.String toUpperCase(java.lang.String)</function-signature>
|
||||
<example>
|
||||
Product name: ${fn.UpperCase(product.name)}
|
||||
</example>
|
||||
</function>
|
||||
|
||||
<function>
|
||||
<description>
|
||||
Removes white spaces from both ends of a string.
|
||||
</description>
|
||||
<name>trim</name>
|
||||
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||
<function-signature>java.lang.String trim(java.lang.String)</function-signature>
|
||||
<example>
|
||||
Name: ${fn.trim(name)}
|
||||
</example>
|
||||
</function>
|
||||
|
||||
</taglib>
|
||||
34
WebRoot/WEB-INF/tlds/permittedTaglibs.tld
Normal file
34
WebRoot/WEB-INF/tlds/permittedTaglibs.tld
Normal file
@@ -0,0 +1,34 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<taglib xmlns="http://java.sun.com/xml/ns/j2ee"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
|
||||
version="2.0">
|
||||
<description>
|
||||
Restricts JSP pages to the JSTL tag libraries
|
||||
</description>
|
||||
<display-name>permittedTaglibs</display-name>
|
||||
<tlib-version>1.1</tlib-version>
|
||||
<short-name>permittedTaglibs</short-name>
|
||||
<uri>http://jakarta.apache.org/taglibs/standard/permittedTaglibs</uri>
|
||||
|
||||
<validator>
|
||||
<validator-class>
|
||||
javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV
|
||||
</validator-class>
|
||||
<init-param>
|
||||
<description>
|
||||
Whitespace-separated list of taglib URIs to permit. This example
|
||||
TLD for the Standard Taglib allows only JSTL 'el' taglibs to be
|
||||
imported.
|
||||
</description>
|
||||
<param-name>permittedTaglibs</param-name>
|
||||
<param-value>
|
||||
http://java.sun.com/jsp/jstl/core
|
||||
http://java.sun.com/jsp/jstl/fmt
|
||||
http://java.sun.com/jsp/jstl/sql
|
||||
http://java.sun.com/jsp/jstl/xml
|
||||
</param-value>
|
||||
</init-param>
|
||||
</validator>
|
||||
</taglib>
|
||||
51
WebRoot/WEB-INF/tlds/scriptfree.tld
Normal file
51
WebRoot/WEB-INF/tlds/scriptfree.tld
Normal file
@@ -0,0 +1,51 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<taglib xmlns="http://java.sun.com/xml/ns/j2ee"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
|
||||
version="2.0">
|
||||
<description>
|
||||
Validates JSP pages to prohibit use of scripting elements.
|
||||
</description>
|
||||
<tlib-version>1.1</tlib-version>
|
||||
<short-name>scriptfree</short-name>
|
||||
<uri>http://jakarta.apache.org/taglibs/standard/scriptfree</uri>
|
||||
|
||||
<validator>
|
||||
<description>
|
||||
Validates prohibitions against scripting elements.
|
||||
</description>
|
||||
<validator-class>
|
||||
javax.servlet.jsp.jstl.tlv.ScriptFreeTLV
|
||||
</validator-class>
|
||||
<init-param>
|
||||
<description>
|
||||
Controls whether or not declarations are considered valid.
|
||||
</description>
|
||||
<param-name>allowDeclarations</param-name>
|
||||
<param-value>false</param-value>
|
||||
</init-param>
|
||||
<init-param>
|
||||
<description>
|
||||
Controls whether or not scriptlets are considered valid.
|
||||
</description>
|
||||
<param-name>allowScriptlets</param-name>
|
||||
<param-value>false</param-value>
|
||||
</init-param>
|
||||
<init-param>
|
||||
<description>
|
||||
Controls whether or not top-level expressions are considered valid.
|
||||
</description>
|
||||
<param-name>allowExpressions</param-name>
|
||||
<param-value>false</param-value>
|
||||
</init-param>
|
||||
<init-param>
|
||||
<description>
|
||||
Controls whether or not expressions used to supply request-time
|
||||
attribute values are considered valid.
|
||||
</description>
|
||||
<param-name>allowRTExpressions</param-name>
|
||||
<param-value>false</param-value>
|
||||
</init-param>
|
||||
</validator>
|
||||
</taglib>
|
||||
188
WebRoot/WEB-INF/tlds/sql-1_0-rt.tld
Normal file
188
WebRoot/WEB-INF/tlds/sql-1_0-rt.tld
Normal file
@@ -0,0 +1,188 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
||||
<!DOCTYPE taglib
|
||||
PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
|
||||
"http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
|
||||
<taglib>
|
||||
<tlib-version>1.0</tlib-version>
|
||||
<jsp-version>1.2</jsp-version>
|
||||
<short-name>sql_rt</short-name>
|
||||
<uri>http://java.sun.com/jstl/sql_rt</uri>
|
||||
<display-name>JSTL sql RT</display-name>
|
||||
<description>JSTL 1.0 sql library</description>
|
||||
|
||||
<validator>
|
||||
<validator-class>
|
||||
org.apache.taglibs.standard.tlv.JstlSqlTLV
|
||||
</validator-class>
|
||||
<description>
|
||||
Provides core validation features for JSTL tags.
|
||||
</description>
|
||||
</validator>
|
||||
|
||||
<tag>
|
||||
<name>transaction</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.sql.TransactionTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Provides nested database action elements with a shared Connection,
|
||||
set up to execute all statements as one transaction.
|
||||
</description>
|
||||
<attribute>
|
||||
<name>dataSource</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>isolation</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>query</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.sql.QueryTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Executes the SQL query defined in its body or through the
|
||||
sql attribute.
|
||||
</description>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>sql</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>dataSource</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>startRow</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>maxRows</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>update</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.sql.UpdateTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Executes the SQL update defined in its body or through the
|
||||
sql attribute.
|
||||
</description>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>sql</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>dataSource</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>param</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.sql.ParamTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Sets a parameter in an SQL statement to the specified value.
|
||||
</description>
|
||||
<attribute>
|
||||
<name>value</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>dateParam</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.sql.DateParamTag</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<description>
|
||||
Sets a parameter in an SQL statement to the specified java.util.Date value.
|
||||
</description>
|
||||
<attribute>
|
||||
<name>value</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>type</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>setDataSource</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.sql.SetDataSourceTag</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<description>
|
||||
Creates a simple DataSource suitable only for prototyping.
|
||||
</description>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>dataSource</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>driver</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>url</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>user</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>password</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
</taglib>
|
||||
213
WebRoot/WEB-INF/tlds/sql-1_0.tld
Normal file
213
WebRoot/WEB-INF/tlds/sql-1_0.tld
Normal file
@@ -0,0 +1,213 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
||||
<!DOCTYPE taglib
|
||||
PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
|
||||
"http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
|
||||
<taglib>
|
||||
<tlib-version>1.0</tlib-version>
|
||||
<jsp-version>1.2</jsp-version>
|
||||
<short-name>sql</short-name>
|
||||
<uri>http://java.sun.com/jstl/sql</uri>
|
||||
<display-name>JSTL sql</display-name>
|
||||
<description>JSTL 1.0 sql library</description>
|
||||
|
||||
<validator>
|
||||
<validator-class>
|
||||
org.apache.taglibs.standard.tlv.JstlSqlTLV
|
||||
</validator-class>
|
||||
<init-param>
|
||||
<param-name>expressionAttributes</param-name>
|
||||
<param-value>
|
||||
transaction:dataSource
|
||||
transaction:isolation
|
||||
query:sql
|
||||
query:dataSource
|
||||
query:startRow
|
||||
query:maxRows
|
||||
update:sql
|
||||
update:dataSource
|
||||
param:value
|
||||
dateParam:value
|
||||
dateParam:type
|
||||
setDataSource:dataSource
|
||||
setDataSource:driver
|
||||
setDataSource:url
|
||||
setDataSource:user
|
||||
setDataSource:password
|
||||
</param-value>
|
||||
<description>
|
||||
Whitespace-separated list of colon-separated token pairs
|
||||
describing tag:attribute combinations that accept expressions.
|
||||
The validator uses this information to determine which
|
||||
attributes need their syntax validated.
|
||||
</description>
|
||||
</init-param>
|
||||
</validator>
|
||||
|
||||
<tag>
|
||||
<name>transaction</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.el.sql.TransactionTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Provides nested database action elements with a shared Connection,
|
||||
set up to execute all statements as one transaction.
|
||||
</description>
|
||||
<attribute>
|
||||
<name>dataSource</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>isolation</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>query</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.el.sql.QueryTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Executes the SQL query defined in its body or through the
|
||||
sql attribute.
|
||||
</description>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>sql</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>dataSource</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>startRow</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>maxRows</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>update</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.el.sql.UpdateTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Executes the SQL update defined in its body or through the
|
||||
sql attribute.
|
||||
</description>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>sql</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>dataSource</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>param</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.el.sql.ParamTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Sets a parameter in an SQL statement to the specified value.
|
||||
</description>
|
||||
<attribute>
|
||||
<name>value</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>dateParam</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.el.sql.DateParamTag</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<description>
|
||||
Sets a parameter in an SQL statement to the specified java.util.Date val
|
||||
ue.
|
||||
</description>
|
||||
<attribute>
|
||||
<name>value</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>type</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>setDataSource</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.el.sql.SetDataSourceTag</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<description>
|
||||
Creates a simple DataSource suitable only for prototyping.
|
||||
</description>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>dataSource</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>driver</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>url</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>user</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>password</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
</taglib>
|
||||
289
WebRoot/WEB-INF/tlds/sql.tld
Normal file
289
WebRoot/WEB-INF/tlds/sql.tld
Normal file
@@ -0,0 +1,289 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<taglib xmlns="http://java.sun.com/xml/ns/j2ee"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
|
||||
version="2.0">
|
||||
|
||||
<description>JSTL 1.1 sql library</description>
|
||||
<display-name>JSTL sql</display-name>
|
||||
<tlib-version>1.1</tlib-version>
|
||||
<short-name>sql</short-name>
|
||||
<uri>http://java.sun.com/jsp/jstl/sql</uri>
|
||||
|
||||
<validator>
|
||||
<description>
|
||||
Provides core validation features for JSTL tags.
|
||||
</description>
|
||||
<validator-class>
|
||||
org.apache.taglibs.standard.tlv.JstlSqlTLV
|
||||
</validator-class>
|
||||
</validator>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Provides nested database action elements with a shared Connection,
|
||||
set up to execute all statements as one transaction.
|
||||
</description>
|
||||
<name>transaction</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.sql.TransactionTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
DataSource associated with the database to access. A
|
||||
String value represents a relative path to a JNDI
|
||||
resource or the parameters for the JDBC
|
||||
DriverManager facility.
|
||||
</description>
|
||||
<name>dataSource</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Transaction isolation level. If not specified, it is the
|
||||
isolation level the DataSource has been configured
|
||||
with.
|
||||
</description>
|
||||
<name>isolation</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Executes the SQL query defined in its body or through the
|
||||
sql attribute.
|
||||
</description>
|
||||
<name>query</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.sql.QueryTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable for the
|
||||
query result. The type of the scoped variable is
|
||||
javax.servlet.jsp.jstl.sql.
|
||||
Result (see Chapter 16 "Java APIs").
|
||||
</description>
|
||||
<name>var</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Scope of var.
|
||||
</description>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
SQL query statement.
|
||||
</description>
|
||||
<name>sql</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Data source associated with the database to
|
||||
query. A String value represents a relative path
|
||||
to a JNDI resource or the parameters for the
|
||||
DriverManager class.
|
||||
</description>
|
||||
<name>dataSource</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
The returned Result object includes the rows
|
||||
starting at the specified index. The first row of
|
||||
the original query result set is at index 0. If not
|
||||
specified, rows are included starting from the
|
||||
first row at index 0.
|
||||
</description>
|
||||
<name>startRow</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
The maximum number of rows to be included in
|
||||
the query result. If not specified, or set to -1, no
|
||||
limit on the maximum number of rows is
|
||||
enforced.
|
||||
</description>
|
||||
<name>maxRows</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Executes the SQL update defined in its body or through the
|
||||
sql attribute.
|
||||
</description>
|
||||
<name>update</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.sql.UpdateTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable for the result
|
||||
of the database update. The type of the scoped
|
||||
variable is java.lang.Integer.
|
||||
</description>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Scope of var.
|
||||
</description>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
SQL update statement.
|
||||
</description>
|
||||
<name>sql</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Data source associated with the database to update.
|
||||
A String value represents a relative path to a JNDI
|
||||
resource or the parameters for the JDBC
|
||||
DriverManager class.
|
||||
</description>
|
||||
<name>dataSource</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Sets a parameter in an SQL statement to the specified value.
|
||||
</description>
|
||||
<name>param</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.sql.ParamTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Parameter value.
|
||||
</description>
|
||||
<name>value</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Sets a parameter in an SQL statement to the specified java.util.Date value.
|
||||
</description>
|
||||
<name>dateParam</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.sql.DateParamTag</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Parameter value for DATE, TIME, or
|
||||
TIMESTAMP column in a database table.
|
||||
</description>
|
||||
<name>value</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
One of "date", "time" or "timestamp".
|
||||
</description>
|
||||
<name>type</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Creates a simple DataSource suitable only for prototyping.
|
||||
</description>
|
||||
<name>setDataSource</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.sql.SetDataSourceTag</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable
|
||||
for the data source specified. Type can
|
||||
be String or DataSource.
|
||||
</description>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
If var is specified, scope of the
|
||||
exported variable. Otherwise, scope of
|
||||
the data source configuration variable.
|
||||
</description>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Data source. If specified as a string, it
|
||||
can either be a relative path to a JNDI
|
||||
resource, or a JDBC parameters string
|
||||
as defined in Section 10.1.1.
|
||||
</description>
|
||||
<name>dataSource</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
JDBC parameter: driver class name.
|
||||
</description>
|
||||
<name>driver</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
JDBC parameter: URL associated with
|
||||
the database.
|
||||
</description>
|
||||
<name>url</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
JDBC parameter: database user on
|
||||
whose behalf the connection to the
|
||||
database is being made.
|
||||
</description>
|
||||
<name>user</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
JDBC parameter: user password
|
||||
</description>
|
||||
<name>password</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
</taglib>
|
||||
137
WebRoot/WEB-INF/tlds/tree.tld
Normal file
137
WebRoot/WEB-INF/tlds/tree.tld
Normal file
@@ -0,0 +1,137 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<taglib version="2.0" xmlns="http://java.sun.com/xml/ns/j2ee"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
|
||||
http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd">
|
||||
<!-- 标签库版本 -->
|
||||
<tlib-version>1.0</tlib-version>
|
||||
<!-- 标签库名称 -->
|
||||
<short-name>TreeTag</short-name>
|
||||
<!-- 标签库URI -->
|
||||
<uri>/tree</uri>
|
||||
<!-- helloTag begin-->
|
||||
<tag>
|
||||
<!-- 标签名称 -->
|
||||
<name>showTree</name>
|
||||
<!-- 标签对应的处理类 -->
|
||||
<tag-class>nis.nms.util.tag.leftMenuTag.TreeTag</tag-class>
|
||||
<!-- 标签体内容,没有标签体则设为空 -->
|
||||
<body-content>empty</body-content>
|
||||
<!-- 标签的属性声明 -->
|
||||
<!-- 菜单前显示的图片 -->
|
||||
<attribute>
|
||||
<name>imgSrc</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<!-- 菜单前显示的图片的宽度 -->
|
||||
<attribute>
|
||||
<name>openAndCloseImgWidth</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<!-- 是否显示父菜单前的折叠图标 -->
|
||||
<attribute>
|
||||
<name>showParentOpenAndCloseImg</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<!-- 根据xmlStr解析成树 -->
|
||||
<attribute>
|
||||
<name>xmlStr</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<!-- 顶级父菜单的样式 -->
|
||||
<attribute>
|
||||
<name>parentMenuCss</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<!-- 菜单内容的样式 -->
|
||||
<attribute>
|
||||
<name>menuCss</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<!-- 顶级菜单的tr样式 -->
|
||||
<attribute>
|
||||
<name>topTrCss</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<!-- 子菜单名的样式 -->
|
||||
<attribute>
|
||||
<name>childMenuCss</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<!-- 子菜单表的样式 -->
|
||||
<attribute>
|
||||
<name>childMenuTableCss</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<!-- -->
|
||||
<attribute>
|
||||
<name>onclick</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<!-- 父菜单的背景图片 -->
|
||||
<attribute>
|
||||
<name>parentMenuBg</name>
|
||||
<required>false</required>
|
||||
</attribute>
|
||||
<!-- 子菜单的背景图片 -->
|
||||
<attribute>
|
||||
<name>childMenuBg</name>
|
||||
<required>false</required>
|
||||
</attribute>
|
||||
<!-- 左树菜单的详细内容显示的目标frame -->
|
||||
<attribute>
|
||||
<name>target</name>
|
||||
<required>false</required>
|
||||
</attribute>
|
||||
<!-- 链接前的图片 -->
|
||||
<attribute>
|
||||
<name>linkMenuImg</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<!-- 占位图片 -->
|
||||
<attribute>
|
||||
<name>spaceImage</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<!-- 鼠标经过事件 -->
|
||||
<attribute>
|
||||
<name>onMouseOver</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>onMouseOut</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>clickLinkEvent</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>clickParentEvent</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>hrefCss</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<!-- helloTag end-->
|
||||
|
||||
</taglib>
|
||||
12142
WebRoot/WEB-INF/tlds/webwork.tld
Normal file
12142
WebRoot/WEB-INF/tlds/webwork.tld
Normal file
File diff suppressed because it is too large
Load Diff
256
WebRoot/WEB-INF/tlds/x-1_0-rt.tld
Normal file
256
WebRoot/WEB-INF/tlds/x-1_0-rt.tld
Normal file
@@ -0,0 +1,256 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
||||
<!DOCTYPE taglib
|
||||
PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
|
||||
"http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
|
||||
<taglib>
|
||||
<tlib-version>1.0</tlib-version>
|
||||
<jsp-version>1.2</jsp-version>
|
||||
<short-name>x_rt</short-name>
|
||||
<uri>http://java.sun.com/jstl/xml_rt</uri>
|
||||
<display-name>JSTL XML RT</display-name>
|
||||
<description>JSTL 1.0 XML library</description>
|
||||
|
||||
<validator>
|
||||
<validator-class>
|
||||
org.apache.taglibs.standard.tlv.JstlXmlTLV
|
||||
</validator-class>
|
||||
<description>
|
||||
Provides validation features for JSTL XML tags.
|
||||
</description>
|
||||
</validator>
|
||||
|
||||
<tag>
|
||||
<name>choose</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.common.core.ChooseTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Simple conditional tag that establishes a context for
|
||||
mutually exclusive conditional operations, marked by
|
||||
<when> and <otherwise>
|
||||
</description>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>out</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.xml.ExprTag</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<description>
|
||||
Like <%= ... >, but for XPath expressions.
|
||||
</description>
|
||||
<attribute>
|
||||
<name>select</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>escapeXml</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>if</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.common.xml.IfTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
XML conditional tag, which evalutes its body if the
|
||||
supplied XPath expression evalutes to 'true' as a boolean
|
||||
</description>
|
||||
<attribute>
|
||||
<name>select</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>forEach</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.common.xml.ForEachTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
XML iteration tag.
|
||||
</description>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>select</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>otherwise</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.common.core.OtherwiseTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Subtag of <choose> that follows <when> tags
|
||||
and runs only if all of the prior conditions evaluated to
|
||||
'false'
|
||||
</description>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>param</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.xml.ParamTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Adds a parameter to a containing 'transform' tag's Transformer
|
||||
</description>
|
||||
<attribute>
|
||||
<name>name</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>value</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>parse</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.xml.ParseTag</tag-class>
|
||||
<tei-class>org.apache.taglibs.standard.tei.XmlParseTEI</tei-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Parses XML content from 'source' attribute or 'body'
|
||||
</description>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>varDom</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>scopeDom</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>xml</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>systemId</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>filter</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>set</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.common.xml.SetTag</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<description>
|
||||
Saves the result of an XPath expression evaluation in a 'scope'
|
||||
</description>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>select</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>transform</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.xml.TransformTag</tag-class>
|
||||
<tei-class>org.apache.taglibs.standard.tei.XmlTransformTEI</tei-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Conducts a transformation given a source XML document
|
||||
and an XSLT stylesheet
|
||||
</description>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>result</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>xml</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>xmlSystemId</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>xslt</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>xsltSystemId</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>when</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.common.xml.WhenTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Subtag of <choose> that includes its body if its
|
||||
expression evalutes to 'true'
|
||||
</description>
|
||||
<attribute>
|
||||
<name>select</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
</taglib>
|
||||
273
WebRoot/WEB-INF/tlds/x-1_0.tld
Normal file
273
WebRoot/WEB-INF/tlds/x-1_0.tld
Normal file
@@ -0,0 +1,273 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
||||
<!DOCTYPE taglib
|
||||
PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
|
||||
"http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
|
||||
<taglib>
|
||||
<tlib-version>1.0</tlib-version>
|
||||
<jsp-version>1.2</jsp-version>
|
||||
<short-name>x</short-name>
|
||||
<uri>http://java.sun.com/jstl/xml</uri>
|
||||
<display-name>JSTL XML</display-name>
|
||||
<description>JSTL 1.0 XML library</description>
|
||||
|
||||
<validator>
|
||||
<validator-class>
|
||||
org.apache.taglibs.standard.tlv.JstlXmlTLV
|
||||
</validator-class>
|
||||
<init-param>
|
||||
<param-name>expressionAttributes</param-name>
|
||||
<param-value>
|
||||
out:escapeXml
|
||||
parse:xml
|
||||
parse:systemId
|
||||
parse:filter
|
||||
transform:xml
|
||||
transform:xmlSystemId
|
||||
transform:xslt
|
||||
transform:xsltSystemId
|
||||
transform:result
|
||||
</param-value>
|
||||
<description>
|
||||
Whitespace-separated list of colon-separated token pairs
|
||||
describing tag:attribute combinations that accept expressions.
|
||||
The validator uses this information to determine which
|
||||
attributes need their syntax validated.
|
||||
</description>
|
||||
</init-param>
|
||||
</validator>
|
||||
|
||||
<tag>
|
||||
<name>choose</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.common.core.ChooseTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Simple conditional tag that establishes a context for
|
||||
mutually exclusive conditional operations, marked by
|
||||
<when> and <otherwise>
|
||||
</description>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>out</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.el.xml.ExprTag</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<description>
|
||||
Like <%= ... >, but for XPath expressions.
|
||||
</description>
|
||||
<attribute>
|
||||
<name>select</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>escapeXml</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>if</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.common.xml.IfTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
XML conditional tag, which evalutes its body if the
|
||||
supplied XPath expression evalutes to 'true' as a boolean
|
||||
</description>
|
||||
<attribute>
|
||||
<name>select</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>forEach</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.common.xml.ForEachTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
XML iteration tag.
|
||||
</description>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>select</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>otherwise</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.common.core.OtherwiseTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Subtag of <choose> that follows <when> tags
|
||||
and runs only if all of the prior conditions evaluated to
|
||||
'false'
|
||||
</description>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>param</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.el.xml.ParamTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Adds a parameter to a containing 'transform' tag's Transformer
|
||||
</description>
|
||||
<attribute>
|
||||
<name>name</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>value</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>parse</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.el.xml.ParseTag</tag-class>
|
||||
<tei-class>org.apache.taglibs.standard.tei.XmlParseTEI</tei-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Parses XML content from 'source' attribute or 'body'
|
||||
</description>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>varDom</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>scopeDom</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>xml</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>systemId</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>filter</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>set</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.common.xml.SetTag</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<description>
|
||||
Saves the result of an XPath expression evaluation in a 'scope'
|
||||
</description>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>select</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>transform</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.el.xml.TransformTag</tag-class>
|
||||
<tei-class>org.apache.taglibs.standard.tei.XmlTransformTEI</tei-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Conducts a transformation given a source XML document
|
||||
and an XSLT stylesheet
|
||||
</description>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>result</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>xml</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>xmlSystemId</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>xslt</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>xsltSystemId</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>when</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.common.xml.WhenTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Subtag of <choose> that includes its body if its
|
||||
expression evalutes to 'true'
|
||||
</description>
|
||||
<attribute>
|
||||
<name>select</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
</taglib>
|
||||
448
WebRoot/WEB-INF/tlds/x.tld
Normal file
448
WebRoot/WEB-INF/tlds/x.tld
Normal file
@@ -0,0 +1,448 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<taglib xmlns="http://java.sun.com/xml/ns/j2ee"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
|
||||
version="2.0">
|
||||
|
||||
<description>JSTL 1.1 XML library</description>
|
||||
<display-name>JSTL XML</display-name>
|
||||
<tlib-version>1.1</tlib-version>
|
||||
<short-name>x</short-name>
|
||||
<uri>http://java.sun.com/jsp/jstl/xml</uri>
|
||||
|
||||
<validator>
|
||||
<description>
|
||||
Provides validation features for JSTL XML tags.
|
||||
</description>
|
||||
<validator-class>
|
||||
org.apache.taglibs.standard.tlv.JstlXmlTLV
|
||||
</validator-class>
|
||||
</validator>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Simple conditional tag that establishes a context for
|
||||
mutually exclusive conditional operations, marked by
|
||||
<when> and <otherwise>
|
||||
</description>
|
||||
<name>choose</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.common.core.ChooseTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Like <%= ... >, but for XPath expressions.
|
||||
</description>
|
||||
<name>out</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.xml.ExprTag</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
XPath expression to be evaluated.
|
||||
</description>
|
||||
<name>select</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Determines whether characters <,>,&,'," in the
|
||||
resulting string should be converted to their
|
||||
corresponding character entity codes. Default
|
||||
value is true.
|
||||
</description>
|
||||
<name>escapeXml</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
XML conditional tag, which evalutes its body if the
|
||||
supplied XPath expression evalutes to 'true' as a boolean
|
||||
</description>
|
||||
<name>if</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.common.xml.IfTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
The test condition that tells whether or not the
|
||||
body content should be processed.
|
||||
</description>
|
||||
<name>select</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable for the
|
||||
resulting value of the test condition. The type
|
||||
of the scoped variable is Boolean.
|
||||
</description>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Scope for var.
|
||||
</description>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
XML iteration tag.
|
||||
</description>
|
||||
<name>forEach</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.common.xml.ForEachTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable for the
|
||||
current item of the iteration. This scoped variable
|
||||
has nested visibility. Its type depends on the
|
||||
result of the XPath expression in the select
|
||||
attribute.
|
||||
</description>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
XPath expression to be evaluated.
|
||||
</description>
|
||||
<name>select</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Iteration begins at the item located at the
|
||||
specified index. First item of the collection has
|
||||
index 0.
|
||||
</description>
|
||||
<name>begin</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>int</type>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Iteration ends at the item located at the specified
|
||||
index (inclusive).
|
||||
</description>
|
||||
<name>end</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>int</type>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Iteration will only process every step items of
|
||||
the collection, starting with the first one.
|
||||
</description>
|
||||
<name>step</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>int</type>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable for the
|
||||
status of the iteration. Object exported is of type
|
||||
javax.servlet.jsp.jstl.core.LoopTagStatus. This scoped variable has nested visibility.
|
||||
</description>
|
||||
<name>varStatus</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Subtag of <choose> that follows <when> tags
|
||||
and runs only if all of the prior conditions evaluated to
|
||||
'false'
|
||||
</description>
|
||||
<name>otherwise</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.common.core.OtherwiseTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Adds a parameter to a containing 'transform' tag's Transformer
|
||||
</description>
|
||||
<name>param</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.xml.ParamTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the transformation parameter.
|
||||
</description>
|
||||
<name>name</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Value of the parameter.
|
||||
</description>
|
||||
<name>value</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Parses XML content from 'source' attribute or 'body'
|
||||
</description>
|
||||
<name>parse</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.xml.ParseTag</tag-class>
|
||||
<tei-class>org.apache.taglibs.standard.tei.XmlParseTEI</tei-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable for
|
||||
the parsed XML document. The type of the
|
||||
scoped variable is implementation
|
||||
dependent.
|
||||
</description>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable for
|
||||
the parsed XML document. The type of the
|
||||
scoped variable is
|
||||
org.w3c.dom.Document.
|
||||
</description>
|
||||
<name>varDom</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Scope for var.
|
||||
</description>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Scope for varDom.
|
||||
</description>
|
||||
<name>scopeDom</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Deprecated. Use attribute 'doc' instead.
|
||||
</description>
|
||||
<name>xml</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Source XML document to be parsed.
|
||||
</description>
|
||||
<name>doc</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
The system identifier (URI) for parsing the
|
||||
XML document.
|
||||
</description>
|
||||
<name>systemId</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Filter to be applied to the source
|
||||
document.
|
||||
</description>
|
||||
<name>filter</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Saves the result of an XPath expression evaluation in a 'scope'
|
||||
</description>
|
||||
<name>set</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.common.xml.SetTag</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable to hold
|
||||
the value specified in the action. The type of the
|
||||
scoped variable is whatever type the select
|
||||
expression evaluates to.
|
||||
</description>
|
||||
<name>var</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
XPath expression to be evaluated.
|
||||
</description>
|
||||
<name>select</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Scope for var.
|
||||
</description>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Conducts a transformation given a source XML document
|
||||
and an XSLT stylesheet
|
||||
</description>
|
||||
<name>transform</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.xml.TransformTag</tag-class>
|
||||
<tei-class>org.apache.taglibs.standard.tei.XmlTransformTEI</tei-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported
|
||||
scoped variable for the
|
||||
transformed XML
|
||||
document. The type of the
|
||||
scoped variable is
|
||||
org.w3c.dom.Document.
|
||||
</description>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Scope for var.
|
||||
</description>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Result
|
||||
Object that captures or
|
||||
processes the transformation
|
||||
result.
|
||||
</description>
|
||||
<name>result</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Deprecated. Use attribute
|
||||
'doc' instead.
|
||||
</description>
|
||||
<name>xml</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Source XML document to be
|
||||
transformed. (If exported by
|
||||
<x:set>, it must correspond
|
||||
to a well-formed XML
|
||||
document, not a partial
|
||||
document.)
|
||||
</description>
|
||||
<name>doc</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Deprecated. Use attribute
|
||||
'docSystemId' instead.
|
||||
</description>
|
||||
<name>xmlSystemId</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
The system identifier (URI)
|
||||
for parsing the XML
|
||||
document.
|
||||
</description>
|
||||
<name>docSystemId</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
javax.xml.transform.Source
|
||||
Transformation stylesheet as
|
||||
a String, Reader, or
|
||||
Source object.
|
||||
</description>
|
||||
<name>xslt</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
The system identifier (URI)
|
||||
for parsing the XSLT
|
||||
stylesheet.
|
||||
</description>
|
||||
<name>xsltSystemId</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Subtag of <choose> that includes its body if its
|
||||
expression evalutes to 'true'
|
||||
</description>
|
||||
<name>when</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.common.xml.WhenTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
The test condition that tells whether or
|
||||
not the body content should be
|
||||
processed
|
||||
</description>
|
||||
<name>select</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
</taglib>
|
||||
Reference in New Issue
Block a user