Update to latest Spring tld
This commit is contained in:
parent
72e3a24c22
commit
27a57410c1
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
<taglib>
|
<taglib>
|
||||||
|
|
||||||
<tlib-version>1.0</tlib-version>
|
<tlib-version>1.1.1</tlib-version>
|
||||||
|
|
||||||
<jsp-version>1.2</jsp-version>
|
<jsp-version>1.2</jsp-version>
|
||||||
|
|
||||||
|
@ -13,6 +13,7 @@
|
||||||
|
|
||||||
<description>Spring Framework JSP Tag Library. Authors: Rod Johnson, Juergen Hoeller</description>
|
<description>Spring Framework JSP Tag Library. Authors: Rod Johnson, Juergen Hoeller</description>
|
||||||
|
|
||||||
|
|
||||||
<tag>
|
<tag>
|
||||||
|
|
||||||
<name>htmlEscape</name>
|
<name>htmlEscape</name>
|
||||||
|
@ -21,6 +22,7 @@
|
||||||
|
|
||||||
<description>
|
<description>
|
||||||
Sets default HTML escape value for the current page.
|
Sets default HTML escape value for the current page.
|
||||||
|
Overrides a "defaultHtmlEscape" context-param in web.xml, if any.
|
||||||
</description>
|
</description>
|
||||||
|
|
||||||
<attribute>
|
<attribute>
|
||||||
|
@ -31,6 +33,34 @@
|
||||||
|
|
||||||
</tag>
|
</tag>
|
||||||
|
|
||||||
|
|
||||||
|
<tag>
|
||||||
|
|
||||||
|
<name>escapeBody</name>
|
||||||
|
<tag-class>org.springframework.web.servlet.tags.EscapeBodyTag</tag-class>
|
||||||
|
<body-content>JSP</body-content>
|
||||||
|
|
||||||
|
<description>
|
||||||
|
Escapes its enclosed body content, applying HTML escaping and/or JavaScript escaping.
|
||||||
|
The HTML escaping flag participates in a page-wide or application-wide setting
|
||||||
|
(i.e. by HtmlEscapeTag or a "defaultHtmlEscape" context-param in web.xml).
|
||||||
|
</description>
|
||||||
|
|
||||||
|
<attribute>
|
||||||
|
<name>htmlEscape</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
|
||||||
|
<attribute>
|
||||||
|
<name>javaScriptEscape</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
|
||||||
|
</tag>
|
||||||
|
|
||||||
|
|
||||||
<tag>
|
<tag>
|
||||||
|
|
||||||
<name>message</name>
|
<name>message</name>
|
||||||
|
@ -39,6 +69,8 @@
|
||||||
|
|
||||||
<description>
|
<description>
|
||||||
Retrieves the message with the given code, or text if code isn't resolvable.
|
Retrieves the message with the given code, or text if code isn't resolvable.
|
||||||
|
The HTML escaping flag participates in a page-wide or application-wide setting
|
||||||
|
(i.e. by HtmlEscapeTag or a "defaultHtmlEscape" context-param in web.xml).
|
||||||
</description>
|
</description>
|
||||||
|
|
||||||
<attribute>
|
<attribute>
|
||||||
|
@ -47,20 +79,45 @@
|
||||||
<rtexprvalue>true</rtexprvalue>
|
<rtexprvalue>true</rtexprvalue>
|
||||||
</attribute>
|
</attribute>
|
||||||
|
|
||||||
|
<attribute>
|
||||||
|
<name>arguments</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
|
||||||
<attribute>
|
<attribute>
|
||||||
<name>text</name>
|
<name>text</name>
|
||||||
<required>false</required>
|
<required>false</required>
|
||||||
<rtexprvalue>true</rtexprvalue>
|
<rtexprvalue>true</rtexprvalue>
|
||||||
</attribute>
|
</attribute>
|
||||||
|
|
||||||
|
<attribute>
|
||||||
|
<name>var</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
|
||||||
|
<attribute>
|
||||||
|
<name>scope</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
|
||||||
<attribute>
|
<attribute>
|
||||||
<name>htmlEscape</name>
|
<name>htmlEscape</name>
|
||||||
<required>false</required>
|
<required>false</required>
|
||||||
<rtexprvalue>true</rtexprvalue>
|
<rtexprvalue>true</rtexprvalue>
|
||||||
</attribute>
|
</attribute>
|
||||||
|
|
||||||
|
<attribute>
|
||||||
|
<name>javaScriptEscape</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
|
||||||
</tag>
|
</tag>
|
||||||
|
|
||||||
|
|
||||||
<tag>
|
<tag>
|
||||||
|
|
||||||
<name>theme</name>
|
<name>theme</name>
|
||||||
|
@ -69,6 +126,8 @@
|
||||||
|
|
||||||
<description>
|
<description>
|
||||||
Retrieves the theme message with the given code, or text if code isn't resolvable.
|
Retrieves the theme message with the given code, or text if code isn't resolvable.
|
||||||
|
The HTML escaping flag participates in a page-wide or application-wide setting
|
||||||
|
(i.e. by HtmlEscapeTag or a "defaultHtmlEscape" context-param in web.xml).
|
||||||
</description>
|
</description>
|
||||||
|
|
||||||
<attribute>
|
<attribute>
|
||||||
|
@ -77,20 +136,45 @@
|
||||||
<rtexprvalue>true</rtexprvalue>
|
<rtexprvalue>true</rtexprvalue>
|
||||||
</attribute>
|
</attribute>
|
||||||
|
|
||||||
|
<attribute>
|
||||||
|
<name>arguments</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
|
||||||
<attribute>
|
<attribute>
|
||||||
<name>text</name>
|
<name>text</name>
|
||||||
<required>false</required>
|
<required>false</required>
|
||||||
<rtexprvalue>true</rtexprvalue>
|
<rtexprvalue>true</rtexprvalue>
|
||||||
</attribute>
|
</attribute>
|
||||||
|
|
||||||
|
<attribute>
|
||||||
|
<name>var</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
|
||||||
|
<attribute>
|
||||||
|
<name>scope</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
|
||||||
<attribute>
|
<attribute>
|
||||||
<name>htmlEscape</name>
|
<name>htmlEscape</name>
|
||||||
<required>false</required>
|
<required>false</required>
|
||||||
<rtexprvalue>true</rtexprvalue>
|
<rtexprvalue>true</rtexprvalue>
|
||||||
</attribute>
|
</attribute>
|
||||||
|
|
||||||
|
<attribute>
|
||||||
|
<name>javaScriptEscape</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
|
||||||
</tag>
|
</tag>
|
||||||
|
|
||||||
|
|
||||||
<tag>
|
<tag>
|
||||||
|
|
||||||
<name>hasBindErrors</name>
|
<name>hasBindErrors</name>
|
||||||
|
@ -99,15 +183,15 @@
|
||||||
|
|
||||||
<description>
|
<description>
|
||||||
Provides Errors instance in case of bind errors.
|
Provides Errors instance in case of bind errors.
|
||||||
|
The HTML escaping flag participates in a page-wide or application-wide setting
|
||||||
|
(i.e. by HtmlEscapeTag or a "defaultHtmlEscape" context-param in web.xml).
|
||||||
</description>
|
</description>
|
||||||
|
|
||||||
<!-- Note: Was "Integer count" in earlier version -->
|
|
||||||
<variable>
|
<variable>
|
||||||
<name-given>errors</name-given>
|
<name-given>errors</name-given>
|
||||||
<variable-class>org.springframework.validation.Errors</variable-class>
|
<variable-class>org.springframework.validation.Errors</variable-class>
|
||||||
</variable>
|
</variable>
|
||||||
|
|
||||||
<!-- Note: Now one Errors instance per bind object -> name of object needed -->
|
|
||||||
<attribute>
|
<attribute>
|
||||||
<name>name</name>
|
<name>name</name>
|
||||||
<required>true</required>
|
<required>true</required>
|
||||||
|
@ -122,6 +206,31 @@
|
||||||
|
|
||||||
</tag>
|
</tag>
|
||||||
|
|
||||||
|
|
||||||
|
<tag>
|
||||||
|
|
||||||
|
<name>nestedPath</name>
|
||||||
|
<tag-class>org.springframework.web.servlet.tags.NestedPathTag</tag-class>
|
||||||
|
<body-content>JSP</body-content>
|
||||||
|
|
||||||
|
<description>
|
||||||
|
Sets a nested path to be used by the bind tag's path.
|
||||||
|
</description>
|
||||||
|
|
||||||
|
<variable>
|
||||||
|
<name-given>nestedPath</name-given>
|
||||||
|
<variable-class>java.lang.String</variable-class>
|
||||||
|
</variable>
|
||||||
|
|
||||||
|
<attribute>
|
||||||
|
<name>path</name>
|
||||||
|
<required>true</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
|
||||||
|
</tag>
|
||||||
|
|
||||||
|
|
||||||
<tag>
|
<tag>
|
||||||
|
|
||||||
<name>bind</name>
|
<name>bind</name>
|
||||||
|
@ -129,22 +238,28 @@
|
||||||
<body-content>JSP</body-content>
|
<body-content>JSP</body-content>
|
||||||
|
|
||||||
<description>
|
<description>
|
||||||
Provides BindStatus instance for certain bind path.
|
Provides BindStatus object for the given bind path.
|
||||||
|
The HTML escaping flag participates in a page-wide or application-wide setting
|
||||||
|
(i.e. by HtmlEscapeTag or a "defaultHtmlEscape" context-param in web.xml).
|
||||||
</description>
|
</description>
|
||||||
|
|
||||||
<!-- Note: Was "bind" in earlier version -->
|
|
||||||
<variable>
|
<variable>
|
||||||
<name-given>status</name-given>
|
<name-given>status</name-given>
|
||||||
<variable-class>org.springframework.web.servlet.tags.BindStatus</variable-class>
|
<variable-class>org.springframework.web.servlet.support.BindStatus</variable-class>
|
||||||
</variable>
|
</variable>
|
||||||
|
|
||||||
<!-- Note: Was "value" in earlier version -->
|
|
||||||
<attribute>
|
<attribute>
|
||||||
<name>path</name>
|
<name>path</name>
|
||||||
<required>true</required>
|
<required>true</required>
|
||||||
<rtexprvalue>true</rtexprvalue>
|
<rtexprvalue>true</rtexprvalue>
|
||||||
</attribute>
|
</attribute>
|
||||||
|
|
||||||
|
<attribute>
|
||||||
|
<name>ignoreNestedPath</name>
|
||||||
|
<required>false</required>
|
||||||
|
<rtexprvalue>true</rtexprvalue>
|
||||||
|
</attribute>
|
||||||
|
|
||||||
<attribute>
|
<attribute>
|
||||||
<name>htmlEscape</name>
|
<name>htmlEscape</name>
|
||||||
<required>false</required>
|
<required>false</required>
|
||||||
|
@ -153,6 +268,7 @@
|
||||||
|
|
||||||
</tag>
|
</tag>
|
||||||
|
|
||||||
|
|
||||||
<tag>
|
<tag>
|
||||||
|
|
||||||
<name>transform</name>
|
<name>transform</name>
|
||||||
|
@ -160,8 +276,10 @@
|
||||||
<body-content>JSP</body-content>
|
<body-content>JSP</body-content>
|
||||||
|
|
||||||
<description>
|
<description>
|
||||||
Provides transformation of variables to Strings using appropriate
|
Provides transformation of variables to Strings, using an appropriate
|
||||||
Custom Editor from BindTag (can only be used inside BindTag)
|
custom PropertyEditor from BindTag (can only be used inside BindTag).
|
||||||
|
The HTML escaping flag participates in a page-wide or application-wide setting
|
||||||
|
(i.e. by HtmlEscapeTag or a "defaultHtmlEscape" context-param in web.xml).
|
||||||
</description>
|
</description>
|
||||||
|
|
||||||
<attribute>
|
<attribute>
|
||||||
|
|
Loading…
Reference in New Issue