# Conflicts: # src/core/operation/Select.json # src/core/process/Process.javazgl
parent
bd91d5b5b7
commit
9f6ebaf9fb
Binary file not shown.
Binary file not shown.
@ -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>
|
@ -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>
|
@ -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>
|
@ -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>
|
@ -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>
|
@ -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>
|
@ -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>
|
@ -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>
|
@ -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>
|
@ -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>
|
@ -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>
|
@ -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>
|
@ -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>
|
@ -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>
|
@ -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>
|
@ -0,0 +1,24 @@
|
|||||||
|
.downloadList{
|
||||||
|
margin: 20px;
|
||||||
|
position: relative;
|
||||||
|
width: 900px;
|
||||||
|
height: 600px;
|
||||||
|
background-color: white;
|
||||||
|
border-radius: 10px;
|
||||||
|
border: 1px solid rgba(0, 0, 0, 0.4);
|
||||||
|
}
|
||||||
|
.download-list-frame{
|
||||||
|
margin: 20px;
|
||||||
|
}
|
||||||
|
.link-frame{
|
||||||
|
margin: 10px;
|
||||||
|
padding-left: 20px;
|
||||||
|
border-radius: 10px;
|
||||||
|
width: 800px;
|
||||||
|
color: white;
|
||||||
|
background-color: #d24249;
|
||||||
|
height: 40px;
|
||||||
|
}
|
||||||
|
.link-frame:hover{
|
||||||
|
background-color: #ff5a5f;
|
||||||
|
}
|
@ -0,0 +1,119 @@
|
|||||||
|
.fill-child{
|
||||||
|
position: relative;
|
||||||
|
margin: 20px 0px;
|
||||||
|
background-color: white;
|
||||||
|
width: 98%;
|
||||||
|
height: 200px;
|
||||||
|
border-radius: 10px;
|
||||||
|
border: 1px solid rgba(0, 0, 0, 0.26);
|
||||||
|
}
|
||||||
|
.fill-frame{
|
||||||
|
position:absolute;
|
||||||
|
top: 20px;
|
||||||
|
right: 30px;
|
||||||
|
width: 900px;
|
||||||
|
max-height: 700px;
|
||||||
|
overflow-y: scroll;
|
||||||
|
}
|
||||||
|
.fill-ipt-text{
|
||||||
|
width: 400px;
|
||||||
|
height: 120px;
|
||||||
|
margin: 10px 10px;
|
||||||
|
border-radius: 10px;
|
||||||
|
float: right;
|
||||||
|
border: 1px solid rgba(0, 0, 0, 0.2);
|
||||||
|
resize: none;
|
||||||
|
padding: 10px 10px;
|
||||||
|
background-color: #f4f4f4;
|
||||||
|
}
|
||||||
|
.fill-ipt-text:focus{
|
||||||
|
border: 1px solid rgb(55, 157, 255);
|
||||||
|
background-color: white;
|
||||||
|
}
|
||||||
|
.fill-ipt-text:hover{
|
||||||
|
background-color: white;
|
||||||
|
border: 1px solid rgb(55, 157, 255);
|
||||||
|
}
|
||||||
|
.submit-text{
|
||||||
|
font-size: 15px;
|
||||||
|
color: white;
|
||||||
|
cursor: pointer;
|
||||||
|
border-radius: 5px;
|
||||||
|
border: 1px solid #000000;
|
||||||
|
background-color: rgba(29, 29, 29, 0.97);
|
||||||
|
width:200px;
|
||||||
|
height: 40px;
|
||||||
|
position: absolute;
|
||||||
|
float: right;
|
||||||
|
margin: 0px 10px 10px 10px;
|
||||||
|
bottom: 0px;
|
||||||
|
right: 0px;
|
||||||
|
}
|
||||||
|
.submit-text:hover{
|
||||||
|
background-color: #575757;
|
||||||
|
}
|
||||||
|
.fill-name{
|
||||||
|
text-align: center;
|
||||||
|
line-height: 40px;
|
||||||
|
color: white;
|
||||||
|
font-size: 18px;
|
||||||
|
float: left;
|
||||||
|
background-color: #d24143;
|
||||||
|
width: 150px;
|
||||||
|
height: 40px;
|
||||||
|
border-radius: 10px;
|
||||||
|
margin: 10px;
|
||||||
|
}
|
||||||
|
.other-tips-msgs{
|
||||||
|
position: absolute;
|
||||||
|
height: 130px;
|
||||||
|
margin: 10px;
|
||||||
|
width: 400px;
|
||||||
|
border-radius: 10px;
|
||||||
|
border: 1px solid #b5b5b5;
|
||||||
|
bottom: 0px;
|
||||||
|
left: 0px;
|
||||||
|
}
|
||||||
|
.tips-msg{
|
||||||
|
font-size: 15px;
|
||||||
|
text-align: center;
|
||||||
|
color: white;
|
||||||
|
height: 25px;
|
||||||
|
width: 190px;
|
||||||
|
margin: 5px 5px;
|
||||||
|
float: left;
|
||||||
|
transition: all 0.3s;
|
||||||
|
border-radius: 5px;
|
||||||
|
background-color: #363636;
|
||||||
|
}
|
||||||
|
.tips-msg:hover{
|
||||||
|
background-color: #3d3d3d;
|
||||||
|
}
|
||||||
|
.upload-status{
|
||||||
|
float: left;
|
||||||
|
border-radius: 10px;
|
||||||
|
height: 40px;
|
||||||
|
width: 100px;
|
||||||
|
margin: 10px 10px 10px 0px;
|
||||||
|
background-color: #ff7182;
|
||||||
|
}
|
||||||
|
.download-file{
|
||||||
|
float: left;
|
||||||
|
border-radius: 10px;
|
||||||
|
height: 40px;
|
||||||
|
width: 100px;
|
||||||
|
margin: 10px 10px 10px 0px;
|
||||||
|
background-color: #ff7182;
|
||||||
|
}
|
||||||
|
.score-area{
|
||||||
|
position: absolute;
|
||||||
|
border: 1px solid rgba(0, 0, 0, 0.24);
|
||||||
|
border-radius: 10px;
|
||||||
|
width: 190px;
|
||||||
|
height: 40px;
|
||||||
|
margin: 0 0 10px 0;
|
||||||
|
bottom: 0;
|
||||||
|
right: 220px;
|
||||||
|
padding-left: 15px;
|
||||||
|
}
|
||||||
|
.
|
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 891 B |
After Width: | Height: | Size: 663 B |
@ -0,0 +1,56 @@
|
|||||||
|
.upload-frame{
|
||||||
|
position: relative;
|
||||||
|
top: 50px;
|
||||||
|
left: 60px;
|
||||||
|
width: 900px;
|
||||||
|
height: 200px;
|
||||||
|
border: 1px solid rgba(0, 0, 0, 0.33);
|
||||||
|
background-color: white;
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
.true-select{
|
||||||
|
visibility: hidden;
|
||||||
|
}
|
||||||
|
.upload-button{
|
||||||
|
cursor: pointer;
|
||||||
|
text-align: center;
|
||||||
|
line-height: 40px;
|
||||||
|
color: white;
|
||||||
|
border-radius: 10px;
|
||||||
|
width: 200px;
|
||||||
|
height: 50px;
|
||||||
|
margin: 10px;
|
||||||
|
background-color: rgb(66, 123, 211);
|
||||||
|
transition: 0.3s;
|
||||||
|
}
|
||||||
|
.upload-button:hover{
|
||||||
|
height: 55px;
|
||||||
|
background-color: #4b91f4;
|
||||||
|
}
|
||||||
|
.file-input-frame{
|
||||||
|
transition: 0.8s;
|
||||||
|
position: absolute;
|
||||||
|
right: 340px;
|
||||||
|
bottom: 20px;
|
||||||
|
}
|
||||||
|
.file-msg{
|
||||||
|
position: absolute;
|
||||||
|
top: 25px;
|
||||||
|
left: 70px;
|
||||||
|
border-radius: 10px;
|
||||||
|
border: 4px solid #eaeaea;
|
||||||
|
background-color: #eaeaea;
|
||||||
|
transition: 0.6s;
|
||||||
|
width: 100px;
|
||||||
|
height: 140px;
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
.upload-tips{
|
||||||
|
width: 180px;
|
||||||
|
height: 40px;
|
||||||
|
color: white;
|
||||||
|
text-align: center;
|
||||||
|
line-height: 35px;
|
||||||
|
border-radius: 10px 0px 10px 0;
|
||||||
|
background-color: rgb(210, 74, 82);
|
||||||
|
}
|
@ -0,0 +1,35 @@
|
|||||||
|
<%--
|
||||||
|
Created by IntelliJ IDEA.
|
||||||
|
User: lenovo
|
||||||
|
Date: 2019/1/13
|
||||||
|
Time: 15:18
|
||||||
|
To change this template use File | Settings | File Templates.
|
||||||
|
--%>
|
||||||
|
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>资料下载</title>
|
||||||
|
<link type="text/css" rel="stylesheet" href="cssFile/download_style.css">
|
||||||
|
<script type="text/javascript" src="jsFile/jquery-3.3.1.js"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="updated">
|
||||||
|
<div class="downloadList">
|
||||||
|
<div class="download-list-frame">
|
||||||
|
<a href="##">
|
||||||
|
<div class="link-frame">开题报告书下载</div>
|
||||||
|
</a>
|
||||||
|
<a href="##">
|
||||||
|
<div class="link-frame">论文模板下载</div>
|
||||||
|
</a>
|
||||||
|
<a href="##">
|
||||||
|
<div class="link-frame">开题纪要表下载</div>
|
||||||
|
</a>
|
||||||
|
<a href="##">
|
||||||
|
<div class="link-frame">信息下载</div>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,55 @@
|
|||||||
|
<%@ page import="core.user.User" %>
|
||||||
|
<%@ page import="java.util.Map" %>
|
||||||
|
<%@ page import="java.util.HashMap" %><%--
|
||||||
|
Created by IntelliJ IDEA.
|
||||||
|
User: lenovo
|
||||||
|
Date: 2019/1/12
|
||||||
|
Time: 13:19
|
||||||
|
To change this template use File | Settings | File Templates.
|
||||||
|
--%>
|
||||||
|
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
|
||||||
|
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>填写信息</title>
|
||||||
|
<link type="text/css" rel="stylesheet" href="cssFile/fill-style.css">
|
||||||
|
<script type="text/javascript" src="jsFile/jquery-3.3.1.js"></script>
|
||||||
|
<script type="text/javascript" src="jsFile/fill-action.js"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<%Map<String,String> map2=new HashMap<String,String>();
|
||||||
|
map2.put("姓名","李先生");
|
||||||
|
map2.put("学号","201630126050");
|
||||||
|
map2.put("电话","18711191679");
|
||||||
|
map2.put("题目","论文");
|
||||||
|
map2.put("5","李先生2");
|
||||||
|
map2.put("6","李先生2");
|
||||||
|
pageContext.setAttribute("map",map2);
|
||||||
|
String type ="student";
|
||||||
|
pageContext.setAttribute("type",type);
|
||||||
|
%>
|
||||||
|
<div class="updated">
|
||||||
|
<div class="fill-frame bar-change">
|
||||||
|
|
||||||
|
<div class="fill-child">
|
||||||
|
<div class="fill-name">${map.姓名}</div>
|
||||||
|
<div class="upload-status"></div>
|
||||||
|
<div class="download-file"></div>
|
||||||
|
<div class="other-tips-msgs">
|
||||||
|
<c:forEach items="${map}" var="z" begin="1">
|
||||||
|
<div class="tips-msg">${z.key}:${z.value}</div>
|
||||||
|
</c:forEach>
|
||||||
|
</div>
|
||||||
|
<form class="fill-form" action="" method="post">
|
||||||
|
<textarea class="fill-ipt-text bar-change" name="text" placeholder="请输入信息"></textarea>
|
||||||
|
<c:if test="${type!='teacher'}">
|
||||||
|
<input class="score-area" name="score" placeholder="请输入分数">
|
||||||
|
</c:if>
|
||||||
|
<input type="button" class="submit-text" value="提交">
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,16 @@
|
|||||||
|
$(document).ready(function () {
|
||||||
|
$(document).off('click',submit_text).on('click','.submit-text',submit_text);
|
||||||
|
})
|
||||||
|
function submit_text() {
|
||||||
|
var Url3='testfrom.jsp';
|
||||||
|
var fillDate=$(this).parent().serialize();
|
||||||
|
var upddateit=$('.updated');
|
||||||
|
alert(fillDate);
|
||||||
|
$.post(Url3,fillDate,function(data,status) {
|
||||||
|
if(status=='success')
|
||||||
|
{
|
||||||
|
alert("提交成功");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
);
|
||||||
|
}
|
@ -0,0 +1,44 @@
|
|||||||
|
$(document).ready(function () {
|
||||||
|
$(document).off('click',sendFile).on('click','.upload-it',sendFile);
|
||||||
|
$(document).off('click',selectFile).on('click','.select-file',selectFile);
|
||||||
|
$(document).off('change',showMsg).on('change','.true-select',showMsg)
|
||||||
|
})
|
||||||
|
function sendFile() {
|
||||||
|
var fileData =new FormData;
|
||||||
|
var Url4='testfrom.jsp';
|
||||||
|
var file=$('.true-select').files;
|
||||||
|
if($('.true-select').val()=='')
|
||||||
|
{
|
||||||
|
alert("请选择文件");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
fileData.append("file",file);
|
||||||
|
$.ajax({
|
||||||
|
type:"post",
|
||||||
|
url:Url4,
|
||||||
|
date:fileData,
|
||||||
|
processData:false,
|
||||||
|
contentType:false,
|
||||||
|
success:function (data,status) {
|
||||||
|
if(status=="success")
|
||||||
|
{
|
||||||
|
alert("选择成功");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
function selectFile() {
|
||||||
|
$('.true-select').click();
|
||||||
|
}
|
||||||
|
function showMsg() {
|
||||||
|
var file=$(this).val();
|
||||||
|
var filename=getmsg(file);
|
||||||
|
function getmsg(file) {
|
||||||
|
var index=file.lastIndexOf("\\");
|
||||||
|
return file.substring(index+1);
|
||||||
|
}
|
||||||
|
$('.file-msg').css("opacity","1");
|
||||||
|
$('.file-name').html(filename);
|
||||||
|
$('.file-msg').css("left","340px");
|
||||||
|
$('.file-input-frame').css("right","20px")
|
||||||
|
}
|
@ -0,0 +1,19 @@
|
|||||||
|
<%--
|
||||||
|
Created by IntelliJ IDEA.
|
||||||
|
User: lenovo
|
||||||
|
Date: 2019/1/12
|
||||||
|
Time: 13:08
|
||||||
|
To change this template use File | Settings | File Templates.
|
||||||
|
--%>
|
||||||
|
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>操作失败</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="option-fail" style="margin: 100px 580px;">
|
||||||
|
<img src="cssFile/images/error.png">
|
||||||
|
<a href="login.jsp" style="margin: 0px auto">返回登陆</a>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,20 @@
|
|||||||
|
<%@ page import="java.util.List" %>
|
||||||
|
<%@page import="org.apache.commons.fileupload.FileItem" %>
|
||||||
|
<%@page import="org.apache.commons.fileupload.FileUploadBase"%>
|
||||||
|
<%@page import="org.apache.commons.fileupload.FileUploadException"%>
|
||||||
|
<%@page import="org.apache.commons.fileupload.ProgressListener"%>
|
||||||
|
<%@page import="org.apache.commons.fileupload.disk.DiskFileItemFactory"%>
|
||||||
|
<%@page import="org.apache.commons.fileupload.servlet.ServletFileUpload"%>
|
||||||
|
<%@page import="java.io.File"%>
|
||||||
|
<%@ page import="java.io.PrintWriter" %>
|
||||||
|
<%--
|
||||||
|
Created by IntelliJ IDEA.
|
||||||
|
User: lenovo
|
||||||
|
Date: 2019/1/12
|
||||||
|
Time: 19:55
|
||||||
|
To change this template use File | Settings | File Templates.
|
||||||
|
--%>
|
||||||
|
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
|
||||||
|
<%
|
||||||
|
%>
|
||||||
|
<div>hello</div>
|
@ -0,0 +1,31 @@
|
|||||||
|
<%--
|
||||||
|
Created by IntelliJ IDEA.
|
||||||
|
User: lenovo
|
||||||
|
Date: 2019/1/13
|
||||||
|
Time: 10:21
|
||||||
|
To change this template use File | Settings | File Templates.
|
||||||
|
--%>
|
||||||
|
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>上传文件</title>
|
||||||
|
<link type="text/css" rel="stylesheet" href="cssFile/upload_style.css">
|
||||||
|
<script type="text/javascript" src="jsFile/jquery-3.3.1.js"></script>
|
||||||
|
<script type="text/javascript" src="jsFile/upload_action.js"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="updated">
|
||||||
|
<div class="upload-frame">
|
||||||
|
<div class="upload-tips">上传定稿</div>
|
||||||
|
<div class="file-msg">
|
||||||
|
<img src="cssFile/images/file-pdf.png">
|
||||||
|
<span class="file-name" style="color: rgba(0,0,0,0.72)">
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
<div class="file-input-frame"><input class="true-select" type="file" accept="application/pdf" multiple="multiple">
|
||||||
|
<div class="upload-button select-file">选择文件</div>
|
||||||
|
<div class="upload-button upload-it">上传文件</div></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
Reference in new issue