From 1c134925bab619927fe6b2ba06a1799ca6f152f7 Mon Sep 17 00:00:00 2001 From: Jeremy Grelle Date: Thu, 17 Sep 2009 22:39:35 +0000 Subject: [PATCH] SPR-6114 - Upgrade the Spring JSP tag libraries to JSP 2.0 --- .../main/resources/META-INF/spring-form.tld | 840 +++++++++--------- .../src/main/resources/META-INF/spring.tld | 326 +++---- 2 files changed, 571 insertions(+), 595 deletions(-) diff --git a/org.springframework.web.servlet/src/main/resources/META-INF/spring-form.tld b/org.springframework.web.servlet/src/main/resources/META-INF/spring-form.tld index 3f4ae1dc2a8..0726f98b4a3 100644 --- a/org.springframework.web.servlet/src/main/resources/META-INF/spring-form.tld +++ b/org.springframework.web.servlet/src/main/resources/META-INF/spring-form.tld @@ -1,2281 +1,2257 @@ - - - - - - 2.5 - 1.2 + + + + Spring Framework JSP Form Tag Library + 3.0 form http://www.springframework.org/tags/form - Spring Framework JSP Form Tag Library - - + + Renders an HTML 'form' tag and exposes a binding path to inner tags for binding. form org.springframework.web.servlet.tags.form.FormTag JSP - Renders an HTML 'form' tag and exposes a binding path to inner tags for binding. + HTML Standard Attribute id false true - HTML Standard Attribute + HTML Standard Attribute - added for backwards compatibility cases name false true - HTML Standard Attribute - added for backwards compatibility cases + Enable/disable HTML escaping of rendered values. htmlEscape false true - Enable/disable HTML escaping of rendered values. + Equivalent to "class" - HTML Optional Attribute cssClass false true - Equivalent to "class" - HTML Optional Attribute + Equivalent to "style" - HTML Optional Attribute cssStyle false true - Equivalent to "style" - HTML Optional Attribute + HTML Standard Attribute lang false true - HTML Standard Attribute + HTML Standard Attribute title false true - HTML Standard Attribute + HTML Standard Attribute dir false true - HTML Standard Attribute + HTML Event Attribute onclick false true - HTML Event Attribute + HTML Event Attribute ondblclick false true - HTML Event Attribute + HTML Event Attribute onmousedown false true - HTML Event Attribute + HTML Event Attribute onmouseup false true - HTML Event Attribute + HTML Event Attribute onmouseover false true - HTML Event Attribute + HTML Event Attribute onmousemove false true - HTML Event Attribute + HTML Event Attribute onmouseout false true - HTML Event Attribute + HTML Event Attribute onkeypress false true - HTML Event Attribute + HTML Event Attribute onkeyup false true - HTML Event Attribute + HTML Event Attribute onkeydown false true - HTML Event Attribute - + Name of the model attribute under which the form object is exposed. + Defaults to 'command'. modelAttribute false true - Name of the model attribute under which the form object is exposed. - Defaults to 'command'. + Name of the model attribute under which the form object is exposed. + Defaults to 'command'. commandName false true - Name of the model attribute under which the form object is exposed. - Defaults to 'command'. + HTML Required Attribute action false true - HTML Required Attribute + HTML Optional Attribute method false true - HTML Optional Attribute + HTML Optional Attribute target false true - HTML Optional Attribute + HTML Optional Attribute enctype false true - HTML Optional Attribute + Specifies the list of character encodings for input data that is accepted by the server processing this form. The value is a space- and/or comma-delimited list of charset values. The client must interpret this list as an exclusive-or list, i.e., the server is able to accept any single character encoding per entity received. acceptCharset false true - Specifies the list of character encodings for input data that is accepted by the server processing this form. The value is a space- and/or comma-delimited list of charset values. The client must interpret this list as an exclusive-or list, i.e., the server is able to accept any single character encoding per entity received. + HTML Event Attribute onsubmit false true - HTML Event Attribute + HTML Event Attribute onreset false true - HTML Event Attribute + Common Optional Attribute autocomplete false true - Common Optional Attribute + The parameter name used for HTTP methods other then GET and POST. Default is '_method' methodParam false true - The parameter name used for HTTP methods other then GET and POST. Default is '_method' - - + + Renders an HTML 'input' tag with type 'text' using the bound value. input org.springframework.web.servlet.tags.form.InputTag empty - Renders an HTML 'input' tag with type 'text' using the bound value. + Path to property for data binding path true true - Path to property for data binding + HTML Standard Attribute id false true - HTML Standard Attribute + Enable/disable HTML escaping of rendered values. htmlEscape false true - Enable/disable HTML escaping of rendered values. + Equivalent to "class" - HTML Optional Attribute cssClass false true - Equivalent to "class" - HTML Optional Attribute + Equivalent to "class" - HTML Optional Attribute. Used when the bound field has errors. cssErrorClass false true - Equivalent to "class" - HTML Optional Attribute. Used when the bound field has errors. + Equivalent to "style" - HTML Optional Attribute cssStyle false true - Equivalent to "style" - HTML Optional Attribute + HTML Standard Attribute lang false true - HTML Standard Attribute + HTML Standard Attribute title false true - HTML Standard Attribute + HTML Standard Attribute dir false true - HTML Standard Attribute + HTML Standard Attribute tabindex false true - HTML Standard Attribute + HTML Optional Attribute. Setting the value of this attribute to 'true' (without the quotes) will disable the HTML element. disabled false true - HTML Optional Attribute. Setting the value of this attribute to 'true' (without the quotes) will disable the HTML element. + HTML Event Attribute onclick false true - HTML Event Attribute + HTML Event Attribute ondblclick false true - HTML Event Attribute + HTML Event Attribute onmousedown false true - HTML Event Attribute + HTML Event Attribute onmouseup false true - HTML Event Attribute + HTML Event Attribute onmouseover false true - HTML Event Attribute + HTML Event Attribute onmousemove false true - HTML Event Attribute + HTML Event Attribute onmouseout false true - HTML Event Attribute + HTML Event Attribute onkeypress false true - HTML Event Attribute + HTML Event Attribute onkeyup false true - HTML Event Attribute + HTML Event Attribute onkeydown false true - HTML Event Attribute + HTML Event Attribute onfocus false true - HTML Event Attribute + HTML Event Attribute onblur false true - HTML Event Attribute + HTML Event Attribute onchange false true - HTML Event Attribute + HTML Standard Attribute accesskey false true - HTML Standard Attribute - + HTML Optional Attribute size false true - HTML Optional Attribute + HTML Optional Attribute maxlength false true - HTML Optional Attribute + HTML Optional Attribute alt false true - HTML Optional Attribute + HTML Event Attribute onselect false true - HTML Event Attribute + HTML Optional Attribute. Setting the value of this attribute to 'true' (without the quotes) will make the HTML element readonly. readonly false true - HTML Optional Attribute. Setting the value of this attribute to 'true' (without the quotes) will make the HTML element readonly. + Common Optional Attribute autocomplete false true - Common Optional Attribute - - + + Renders an HTML 'input' tag with type 'password' using the bound value. password org.springframework.web.servlet.tags.form.PasswordInputTag empty - Renders an HTML 'input' tag with type 'password' using the bound value. + Path to property for data binding path true true - Path to property for data binding + HTML Standard Attribute id false true - HTML Standard Attribute + Enable/disable HTML escaping of rendered values. htmlEscape false true - Enable/disable HTML escaping of rendered values. + Equivalent to "class" - HTML Optional Attribute cssClass false true - Equivalent to "class" - HTML Optional Attribute + Equivalent to "class" - HTML Optional Attribute. Used when the bound field has errors. cssErrorClass false true - Equivalent to "class" - HTML Optional Attribute. Used when the bound field has errors. + Equivalent to "style" - HTML Optional Attribute cssStyle false true - Equivalent to "style" - HTML Optional Attribute + HTML Standard Attribute lang false true - HTML Standard Attribute + HTML Standard Attribute title false true - HTML Standard Attribute + HTML Standard Attribute dir false true - HTML Standard Attribute + HTML Standard Attribute tabindex false true - HTML Standard Attribute + HTML Optional Attribute. Setting the value of this attribute to 'true' (without the quotes) will disable the HTML element. disabled false true - HTML Optional Attribute. Setting the value of this attribute to 'true' (without the quotes) will disable the HTML element. + HTML Event Attribute onclick false true - HTML Event Attribute + HTML Event Attribute ondblclick false true - HTML Event Attribute + HTML Event Attribute onmousedown false true - HTML Event Attribute + HTML Event Attribute onmouseup false true - HTML Event Attribute + HTML Event Attribute onmouseover false true - HTML Event Attribute + HTML Event Attribute onmousemove false true - HTML Event Attribute + HTML Event Attribute onmouseout false true - HTML Event Attribute + HTML Event Attribute onkeypress false true - HTML Event Attribute + HTML Event Attribute onkeyup false true - HTML Event Attribute + HTML Event Attribute onkeydown false true - HTML Event Attribute + HTML Event Attribute onfocus false true - HTML Event Attribute + HTML Event Attribute onblur false true - HTML Event Attribute + HTML Event Attribute onchange false true - HTML Event Attribute + HTML Standard Attribute accesskey false true - HTML Standard Attribute - + HTML Optional Attribute size false true - HTML Optional Attribute + HTML Optional Attribute maxlength false true - HTML Optional Attribute + HTML Optional Attribute alt false true - HTML Optional Attribute + HTML Event Attribute onselect false true - HTML Event Attribute + HTML Optional Attribute. Setting the value of this attribute to 'true' (without the quotes) will make the HTML element readonly. readonly false true - HTML Optional Attribute. Setting the value of this attribute to 'true' (without the quotes) will make the HTML element readonly. + Common Optional Attribute autocomplete false true - Common Optional Attribute - + Is the password value to be shown? Defaults to false. showPassword false true - Is the password value to be shown? Defaults to false. - - + + Renders an HTML 'input' tag with type 'hidden' using the bound value. hidden org.springframework.web.servlet.tags.form.HiddenInputTag empty - Renders an HTML 'input' tag with type 'hidden' using the bound value. + Path to property for data binding path true true - Path to property for data binding + HTML Standard Attribute id false true - HTML Standard Attribute + Enable/disable HTML escaping of rendered values. htmlEscape false true - Enable/disable HTML escaping of rendered values. - - + + Renders an HTML 'select' element. Supports databinding to the selected option. select org.springframework.web.servlet.tags.form.SelectTag JSP - Renders an HTML 'select' element. Supports databinding to the selected option. + Path to property for data binding path true true - Path to property for data binding + HTML Standard Attribute id false true - HTML Standard Attribute + Enable/disable HTML escaping of rendered values. htmlEscape false true - Enable/disable HTML escaping of rendered values. + Equivalent to "class" - HTML Optional Attribute cssClass false true - Equivalent to "class" - HTML Optional Attribute + Equivalent to "class" - HTML Optional Attribute. Used when the bound field has errors. cssErrorClass false true - Equivalent to "class" - HTML Optional Attribute. Used when the bound field has errors. + Equivalent to "style" - HTML Optional Attribute cssStyle false true - Equivalent to "style" - HTML Optional Attribute + HTML Standard Attribute lang false true - HTML Standard Attribute + HTML Standard Attribute title false true - HTML Standard Attribute + HTML Standard Attribute dir false true - HTML Standard Attribute + HTML Standard Attribute tabindex false true - HTML Standard Attribute + HTML Optional Attribute. Setting the value of this attribute to 'true' (without the quotes) will disable the HTML element. disabled false true - HTML Optional Attribute. Setting the value of this attribute to 'true' (without the quotes) will disable the HTML element. + HTML Event Attribute onclick false true - HTML Event Attribute + HTML Event Attribute ondblclick false true - HTML Event Attribute + HTML Event Attribute onmousedown false true - HTML Event Attribute + HTML Event Attribute onmouseup false true - HTML Event Attribute + HTML Event Attribute onmouseover false true - HTML Event Attribute + HTML Event Attribute onmousemove false true - HTML Event Attribute + HTML Event Attribute onmouseout false true - HTML Event Attribute + HTML Event Attribute onkeypress false true - HTML Event Attribute + HTML Event Attribute onkeyup false true - HTML Event Attribute + HTML Event Attribute onkeydown false true - HTML Event Attribute + HTML Event Attribute onfocus false true - HTML Event Attribute + HTML Event Attribute onblur false true - HTML Event Attribute + HTML Event Attribute onchange false true - HTML Event Attribute + HTML Standard Attribute accesskey false true - HTML Standard Attribute - + The Collection, Map or array of objects used to generate the inner 'option' tags items false true - The Collection, Map or array of objects used to generate the inner 'option' tags + Name of the property mapped to 'value' attribute of the 'option' tag itemValue false true - Name of the property mapped to 'value' attribute of the 'option' tag + Name of the property mapped to the inner text of the 'option' tag itemLabel false true - Name of the property mapped to the inner text of the 'option' tag + HTML Optional Attribute size false true - HTML Optional Attribute + HTML Optional Attribute multiple false true - HTML Optional Attribute - - + + Renders a single HTML 'option'. Sets 'selected' as appropriate based on bound value. option org.springframework.web.servlet.tags.form.OptionTag JSP - Renders a single HTML 'option'. Sets 'selected' as appropriate based on bound value. + The actual value bound to the 'value' attribute value java.lang.Object - The actual value bound to the 'value' attribute + The String representation of thr value bound to the 'value' attribute, taking into consideration + any PropertyEditor associated with the enclosing 'select' tag. displayValue java.lang.String - The String representation of thr value bound to the 'value' attribute, taking into consideration - any PropertyEditor associated with the enclosing 'select' tag. - - id - false - true - HTML Standard Attribute - + HTML Standard Attribute + id + false + true + + + HTML Optional Attribute value true true - HTML Optional Attribute + HTML Optional Attribute label false true - HTML Optional Attribute + Enable/disable HTML escaping of rendered values. htmlEscape false true - Enable/disable HTML escaping of rendered values. + Equivalent to "class" - HTML Optional Attribute cssClass false true - Equivalent to "class" - HTML Optional Attribute + Equivalent to "class" - HTML Optional Attribute. Used when the bound field has errors. cssErrorClass false true - Equivalent to "class" - HTML Optional Attribute. Used when the bound field has errors. + Equivalent to "style" - HTML Optional Attribute cssStyle false true - Equivalent to "style" - HTML Optional Attribute + HTML Standard Attribute lang false true - HTML Standard Attribute + HTML Standard Attribute title false true - HTML Standard Attribute + HTML Standard Attribute dir false true - HTML Standard Attribute + HTML Standard Attribute tabindex false true - HTML Standard Attribute + HTML Optional Attribute. Setting the value of this attribute to 'true' (without the quotes) will disable the HTML element. disabled false true - HTML Optional Attribute. Setting the value of this attribute to 'true' (without the quotes) will disable the HTML element. + HTML Event Attribute onclick false true - HTML Event Attribute + HTML Event Attribute ondblclick false true - HTML Event Attribute + HTML Event Attribute onmousedown false true - HTML Event Attribute + HTML Event Attribute onmouseup false true - HTML Event Attribute + HTML Event Attribute onmouseover false true - HTML Event Attribute + HTML Event Attribute onmousemove false true - HTML Event Attribute + HTML Event Attribute onmouseout false true - HTML Event Attribute + HTML Event Attribute onkeypress false true - HTML Event Attribute + HTML Event Attribute onkeyup false true - HTML Event Attribute + HTML Event Attribute onkeydown false true - HTML Event Attribute - - + + Renders a list of HTML 'option' tags. Sets 'selected' as appropriate based on bound value. options org.springframework.web.servlet.tags.form.OptionsTag empty - Renders a list of HTML 'option' tags. Sets 'selected' as appropriate based on bound value. - - id - false - true - HTML Standard Attribute - + HTML Standard Attribute + id + false + true + + + The Collection, Map or array of objects used to generate the inner 'option' tags. This attribute is required unless the containing select's property for data binding is an Enum, in which case the enum's values are used. items false true - The Collection, Map or array of objects used to generate the inner 'option' tags. This attribute is required unless the containing select's property for data binding is an Enum, in which case the enum's values are used. + Name of the property mapped to 'value' attribute of the 'option' tag itemValue false true - Name of the property mapped to 'value' attribute of the 'option' tag + Name of the property mapped to the inner text of the 'option' tag itemLabel false true - Name of the property mapped to the inner text of the 'option' tag + Enable/disable HTML escaping of rendered values. htmlEscape false true - Enable/disable HTML escaping of rendered values. + Equivalent to "class" - HTML Optional Attribute cssClass false true - Equivalent to "class" - HTML Optional Attribute + Equivalent to "class" - HTML Optional Attribute. Used when the bound field has errors. cssErrorClass false true - Equivalent to "class" - HTML Optional Attribute. Used when the bound field has errors. + Equivalent to "style" - HTML Optional Attribute cssStyle false true - Equivalent to "style" - HTML Optional Attribute + HTML Standard Attribute lang false true - HTML Standard Attribute + HTML Standard Attribute title false true - HTML Standard Attribute + HTML Standard Attribute dir false true - HTML Standard Attribute + HTML Standard Attribute tabindex false true - HTML Standard Attribute + HTML Optional Attribute. Setting the value of this attribute to 'true' (without the quotes) will disable the HTML element. disabled false true - HTML Optional Attribute. Setting the value of this attribute to 'true' (without the quotes) will disable the HTML element. + HTML Event Attribute onclick false true - HTML Event Attribute + HTML Event Attribute ondblclick false true - HTML Event Attribute + HTML Event Attribute onmousedown false true - HTML Event Attribute + HTML Event Attribute onmouseup false true - HTML Event Attribute + HTML Event Attribute onmouseover false true - HTML Event Attribute + HTML Event Attribute onmousemove false true - HTML Event Attribute + HTML Event Attribute onmouseout false true - HTML Event Attribute + HTML Event Attribute onkeypress false true - HTML Event Attribute + HTML Event Attribute onkeyup false true - HTML Event Attribute + HTML Event Attribute onkeydown false true - HTML Event Attribute - - + + Renders an HTML 'input' tag with type 'radio'. radiobutton org.springframework.web.servlet.tags.form.RadioButtonTag empty - Renders an HTML 'input' tag with type 'radio'. + Path to property for data binding path true true - Path to property for data binding + HTML Standard Attribute id false true - HTML Standard Attribute + Enable/disable HTML escaping of rendered values. htmlEscape false true - Enable/disable HTML escaping of rendered values. + Equivalent to "class" - HTML Optional Attribute cssClass false true - Equivalent to "class" - HTML Optional Attribute + Equivalent to "class" - HTML Optional Attribute. Used when the bound field has errors. cssErrorClass false true - Equivalent to "class" - HTML Optional Attribute. Used when the bound field has errors. + Equivalent to "style" - HTML Optional Attribute cssStyle false true - Equivalent to "style" - HTML Optional Attribute + HTML Standard Attribute lang false true - HTML Standard Attribute + HTML Standard Attribute title false true - HTML Standard Attribute + HTML Standard Attribute dir false true - HTML Standard Attribute + HTML Standard Attribute tabindex false true - HTML Standard Attribute + HTML Optional Attribute. Setting the value of this attribute to 'true' (without the quotes) will disable the HTML element. disabled false true - HTML Optional Attribute. Setting the value of this attribute to 'true' (without the quotes) will disable the HTML element. + HTML Event Attribute onclick false true - HTML Event Attribute + HTML Event Attribute ondblclick false true - HTML Event Attribute + HTML Event Attribute onmousedown false true - HTML Event Attribute + HTML Event Attribute onmouseup false true - HTML Event Attribute + HTML Event Attribute onmouseover false true - HTML Event Attribute + HTML Event Attribute onmousemove false true - HTML Event Attribute + HTML Event Attribute onmouseout false true - HTML Event Attribute + HTML Event Attribute onkeypress false true - HTML Event Attribute + HTML Event Attribute onkeyup false true - HTML Event Attribute + HTML Event Attribute onkeydown false true - HTML Event Attribute + HTML Event Attribute onfocus false true - HTML Event Attribute + HTML Event Attribute onblur false true - HTML Event Attribute + HTML Event Attribute onchange false true - HTML Event Attribute + HTML Standard Attribute accesskey false true - HTML Standard Attribute - + HTML Optional Attribute value false true - HTML Optional Attribute + Value to be displayed as part of the tag label false true - Value to be displayed as part of the tag - - + + Renders multiple HTML 'input' tags with type 'radio'. radiobuttons org.springframework.web.servlet.tags.form.RadioButtonsTag empty - Renders multiple HTML 'input' tags with type 'radio'. + Path to property for data binding path true true - Path to property for data binding + HTML Standard Attribute id false true - HTML Standard Attribute + Enable/disable HTML escaping of rendered values. htmlEscape false true - Enable/disable HTML escaping of rendered values. + Equivalent to "class" - HTML Optional Attribute cssClass false true - Equivalent to "class" - HTML Optional Attribute + Equivalent to "class" - HTML Optional Attribute. Used when the bound field has errors. cssErrorClass false true - Equivalent to "class" - HTML Optional Attribute. Used when the bound field has errors. + Equivalent to "style" - HTML Optional Attribute cssStyle false true - Equivalent to "style" - HTML Optional Attribute + HTML Standard Attribute lang false true - HTML Standard Attribute + HTML Standard Attribute title false true - HTML Standard Attribute + HTML Standard Attribute dir false true - HTML Standard Attribute + HTML Standard Attribute tabindex false true - HTML Standard Attribute + HTML Optional Attribute. Setting the value of this attribute to 'true' (without the quotes) will disable the HTML element. disabled false true - HTML Optional Attribute. Setting the value of this attribute to 'true' (without the quotes) will disable the HTML element. + HTML Event Attribute onclick false true - HTML Event Attribute + HTML Event Attribute ondblclick false true - HTML Event Attribute + HTML Event Attribute onmousedown false true - HTML Event Attribute + HTML Event Attribute onmouseup false true - HTML Event Attribute + HTML Event Attribute onmouseover false true - HTML Event Attribute + HTML Event Attribute onmousemove false true - HTML Event Attribute + HTML Event Attribute onmouseout false true - HTML Event Attribute + HTML Event Attribute onkeypress false true - HTML Event Attribute + HTML Event Attribute onkeyup false true - HTML Event Attribute + HTML Event Attribute onkeydown false true - HTML Event Attribute + HTML Event Attribute onfocus false true - HTML Event Attribute + HTML Event Attribute onblur false true - HTML Event Attribute + HTML Event Attribute onchange false true - HTML Event Attribute + HTML Standard Attribute accesskey false true - HTML Standard Attribute - + The Collection, Map or array of objects used to generate the 'input' tags with type 'radio'. This attribute is required unless the property for data binding is an Enum, in which case the enum's values are used. items false true - The Collection, Map or array of objects used to generate the 'input' tags with type 'radio'. This attribute is required unless the property for data binding is an Enum, in which case the enum's values are used. + Name of the property mapped to 'value' attribute of the 'input' tags with type 'radio' itemValue false true - Name of the property mapped to 'value' attribute of the 'input' tags with type 'radio' + Value to be displayed as part of the 'input' tags with type 'radio' itemLabel false true - Value to be displayed as part of the 'input' tags with type 'radio' + Delimiter to use between each 'input' tag with type 'radio'. There is no delimiter by default. delimiter false true - Delimiter to use between each 'input' tag with type 'radio'. There is no delimiter by default. + Specifies the HTML element that is used to enclose each 'input' tag with type 'radio'. Defaults to 'span'. element false true - Specifies the HTML element that is used to enclose each 'input' tag with type 'radio'. Defaults to 'span'. - - + + Renders an HTML 'input' tag with type 'checkbox'. checkbox org.springframework.web.servlet.tags.form.CheckboxTag empty - Renders an HTML 'input' tag with type 'checkbox'. + Path to property for data binding path true true - Path to property for data binding + HTML Standard Attribute id false true - HTML Standard Attribute + Enable/disable HTML escaping of rendered values. htmlEscape false true - Enable/disable HTML escaping of rendered values. + Equivalent to "class" - HTML Optional Attribute cssClass false true - Equivalent to "class" - HTML Optional Attribute + Equivalent to "class" - HTML Optional Attribute. Used when the bound field has errors. cssErrorClass false true - Equivalent to "class" - HTML Optional Attribute. Used when the bound field has errors. + Equivalent to "style" - HTML Optional Attribute cssStyle false true - Equivalent to "style" - HTML Optional Attribute + HTML Standard Attribute lang false true - HTML Standard Attribute + HTML Standard Attribute title false true - HTML Standard Attribute + HTML Standard Attribute dir false true - HTML Standard Attribute + HTML Standard Attribute tabindex false true - HTML Standard Attribute + HTML Optional Attribute. Setting the value of this attribute to 'true' (without the quotes) will disable the HTML element. disabled false true - HTML Optional Attribute. Setting the value of this attribute to 'true' (without the quotes) will disable the HTML element. + HTML Event Attribute onclick false true - HTML Event Attribute + HTML Event Attribute ondblclick false true - HTML Event Attribute + HTML Event Attribute onmousedown false true - HTML Event Attribute + HTML Event Attribute onmouseup false true - HTML Event Attribute + HTML Event Attribute onmouseover false true - HTML Event Attribute + HTML Event Attribute onmousemove false true - HTML Event Attribute + HTML Event Attribute onmouseout false true - HTML Event Attribute + HTML Event Attribute onkeypress false true - HTML Event Attribute + HTML Event Attribute onkeyup false true - HTML Event Attribute + HTML Event Attribute onkeydown false true - HTML Event Attribute + HTML Event Attribute onfocus false true - HTML Event Attribute + HTML Event Attribute onblur false true - HTML Event Attribute + HTML Event Attribute onchange false true - HTML Event Attribute + HTML Standard Attribute accesskey false true - HTML Standard Attribute - + HTML Optional Attribute value false true - HTML Optional Attribute + Value to be displayed as part of the tag label false true - Value to be displayed as part of the tag - - + + Renders multiple HTML 'input' tags with type 'checkbox'. checkboxes org.springframework.web.servlet.tags.form.CheckboxesTag empty - Renders multiple HTML 'input' tags with type 'checkbox'. + Path to property for data binding path true true - Path to property for data binding + HTML Standard Attribute id false true - HTML Standard Attribute + Enable/disable HTML escaping of rendered values. htmlEscape false true - Enable/disable HTML escaping of rendered values. + Equivalent to "class" - HTML Optional Attribute cssClass false true - Equivalent to "class" - HTML Optional Attribute + Equivalent to "class" - HTML Optional Attribute. Used when the bound field has errors. cssErrorClass false true - Equivalent to "class" - HTML Optional Attribute. Used when the bound field has errors. + Equivalent to "style" - HTML Optional Attribute cssStyle false true - Equivalent to "style" - HTML Optional Attribute + HTML Standard Attribute lang false true - HTML Standard Attribute + HTML Standard Attribute title false true - HTML Standard Attribute + HTML Standard Attribute dir false true - HTML Standard Attribute + HTML Standard Attribute tabindex false true - HTML Standard Attribute + HTML Optional Attribute. Setting the value of this attribute to 'true' (without the quotes) will disable the HTML element. disabled false true - HTML Optional Attribute. Setting the value of this attribute to 'true' (without the quotes) will disable the HTML element. + HTML Event Attribute onclick false true - HTML Event Attribute + HTML Event Attribute ondblclick false true - HTML Event Attribute + HTML Event Attribute onmousedown false true - HTML Event Attribute + HTML Event Attribute onmouseup false true - HTML Event Attribute + HTML Event Attribute onmouseover false true - HTML Event Attribute + HTML Event Attribute onmousemove false true - HTML Event Attribute + HTML Event Attribute onmouseout false true - HTML Event Attribute + HTML Event Attribute onkeypress false true - HTML Event Attribute + HTML Event Attribute onkeyup false true - HTML Event Attribute + HTML Event Attribute onkeydown false true - HTML Event Attribute + HTML Event Attribute onfocus false true - HTML Event Attribute + HTML Event Attribute onblur false true - HTML Event Attribute + HTML Event Attribute onchange false true - HTML Event Attribute + HTML Standard Attribute accesskey false true - HTML Standard Attribute - + The Collection, Map or array of objects used to generate the 'input' tags with type 'checkbox' items true true - The Collection, Map or array of objects used to generate the 'input' tags with type 'checkbox' + Name of the property mapped to 'value' attribute of the 'input' tags with type 'checkbox' itemValue false true - Name of the property mapped to 'value' attribute of the 'input' tags with type 'checkbox' + Value to be displayed as part of the 'input' tags with type 'checkbox' itemLabel false true - Value to be displayed as part of the 'input' tags with type 'checkbox' + Delimiter to use between each 'input' tag with type 'checkbox'. There is no delimiter by default. delimiter false true - Delimiter to use between each 'input' tag with type 'checkbox'. There is no delimiter by default. + Specifies the HTML element that is used to enclose each 'input' tag with type 'checkbox'. Defaults to 'span'. element false true - Specifies the HTML element that is used to enclose each 'input' tag with type 'checkbox'. Defaults to 'span'. - - + + Renders an HTML 'textarea'. textarea org.springframework.web.servlet.tags.form.TextareaTag empty - Renders an HTML 'textarea'. + Path to property for data binding path true true - Path to property for data binding + HTML Standard Attribute id false true - HTML Standard Attribute + Enable/disable HTML escaping of rendered values. htmlEscape false true - Enable/disable HTML escaping of rendered values. + Equivalent to "class" - HTML Optional Attribute cssClass false true - Equivalent to "class" - HTML Optional Attribute + Equivalent to "class" - HTML Optional Attribute. Used when the bound field has errors. cssErrorClass false true - Equivalent to "class" - HTML Optional Attribute. Used when the bound field has errors. + Equivalent to "style" - HTML Optional Attribute cssStyle false true - Equivalent to "style" - HTML Optional Attribute + HTML Standard Attribute lang false true - HTML Standard Attribute + HTML Standard Attribute title false true - HTML Standard Attribute + HTML Standard Attribute dir false true - HTML Standard Attribute + HTML Standard Attribute tabindex false true - HTML Standard Attribute + HTML Optional Attribute. Setting the value of this attribute to 'true' (without the quotes) will disable the HTML element. disabled false true - HTML Optional Attribute. Setting the value of this attribute to 'true' (without the quotes) will disable the HTML element. + HTML Event Attribute onclick false true - HTML Event Attribute + HTML Event Attribute ondblclick false true - HTML Event Attribute + HTML Event Attribute onmousedown false true - HTML Event Attribute + HTML Event Attribute onmouseup false true - HTML Event Attribute + HTML Event Attribute onmouseover false true - HTML Event Attribute + HTML Event Attribute onmousemove false true - HTML Event Attribute + HTML Event Attribute onmouseout false true - HTML Event Attribute + HTML Event Attribute onkeypress false true - HTML Event Attribute + HTML Event Attribute onkeyup false true - HTML Event Attribute + HTML Event Attribute onkeydown false true - HTML Event Attribute + HTML Event Attribute onfocus false true - HTML Event Attribute + HTML Event Attribute onblur false true - HTML Event Attribute + HTML Event Attribute onchange false true - HTML Event Attribute + HTML Standard Attribute accesskey false true - HTML Standard Attribute - + HTML Required Attribute rows false true - HTML Required Attribute + HTML Required Attribute cols false true - HTML Required Attribute + HTML Event Attribute onselect false true - HTML Event Attribute + HTML Optional Attribute. Setting the value of this attribute to 'true' (without the quotes) will make the HTML element readonly. readonly false true - HTML Optional Attribute. Setting the value of this attribute to 'true' (without the quotes) will make the HTML element readonly. - - + + Renders field errors in an HTML 'span' tag. errors org.springframework.web.servlet.tags.form.ErrorsTag JSP - Renders field errors in an HTML 'span' tag. messages java.util.List + Path to errors object for data binding path false true - Path to errors object for data binding + HTML Standard Attribute id false true - HTML Standard Attribute + Enable/disable HTML escaping of rendered values. htmlEscape false true - Enable/disable HTML escaping of rendered values. + Delimiter for displaying multiple error messages. Defaults to the br tag. delimiter false true - Delimiter for displaying multiple error messages. Defaults to the br tag. + Equivalent to "class" - HTML Optional Attribute cssClass false true - Equivalent to "class" - HTML Optional Attribute + Equivalent to "style" - HTML Optional Attribute cssStyle false true - Equivalent to "style" - HTML Optional Attribute + HTML Standard Attribute lang false true - HTML Standard Attribute + HTML Standard Attribute title false true - HTML Standard Attribute + HTML Standard Attribute dir false true - HTML Standard Attribute + HTML Standard Attribute tabindex false true - HTML Standard Attribute + HTML Event Attribute onclick false true - HTML Event Attribute + HTML Event Attribute ondblclick false true - HTML Event Attribute + HTML Event Attribute onmousedown false true - HTML Event Attribute + HTML Event Attribute onmouseup false true - HTML Event Attribute + HTML Event Attribute onmouseover false true - HTML Event Attribute + HTML Event Attribute onmousemove false true - HTML Event Attribute + HTML Event Attribute onmouseout false true - HTML Event Attribute + HTML Event Attribute onkeypress false true - HTML Event Attribute + HTML Event Attribute onkeyup false true - HTML Event Attribute + HTML Event Attribute onkeydown false true - HTML Event Attribute + Specifies the HTML element that is used to render the enclosing errors. element false true - Specifies the HTML element that is used to render the enclosing errors. - - + + Renders a form field label in an HTML 'label' tag. label org.springframework.web.servlet.tags.form.LabelTag JSP - Renders a form field label in an HTML 'label' tag. + Path to errors object for data binding path true true - Path to errors object for data binding + HTML Standard Attribute id false true - HTML Standard Attribute + Enable/disable HTML escaping of rendered values. htmlEscape false true - Enable/disable HTML escaping of rendered values. + HTML Standard Attribute for false true - HTML Standard Attribute + Equivalent to "class" - HTML Optional Attribute. cssClass false true - Equivalent to "class" - HTML Optional Attribute. + Equivalent to "class" - HTML Optional Attribute. Used only when errors are present. cssErrorClass false true - Equivalent to "class" - HTML Optional Attribute. Used only when errors are present. + Equivalent to "style" - HTML Optional Attribute cssStyle false true - Equivalent to "style" - HTML Optional Attribute + HTML Standard Attribute lang false true - HTML Standard Attribute + HTML Standard Attribute title false true - HTML Standard Attribute + HTML Standard Attribute dir false true - HTML Standard Attribute + HTML Standard Attribute tabindex false true - HTML Standard Attribute + HTML Event Attribute onclick false true - HTML Event Attribute + HTML Event Attribute ondblclick false true - HTML Event Attribute + HTML Event Attribute onmousedown false true - HTML Event Attribute + HTML Event Attribute onmouseup false true - HTML Event Attribute + HTML Event Attribute onmouseover false true - HTML Event Attribute + HTML Event Attribute onmousemove false true - HTML Event Attribute + HTML Event Attribute onmouseout false true - HTML Event Attribute + HTML Event Attribute onkeypress false true - HTML Event Attribute + HTML Event Attribute onkeyup false true - HTML Event Attribute + HTML Event Attribute onkeydown false true - HTML Event Attribute - - + + \ No newline at end of file diff --git a/org.springframework.web.servlet/src/main/resources/META-INF/spring.tld b/org.springframework.web.servlet/src/main/resources/META-INF/spring.tld index fb2675d8b85..8ac57e7b04d 100644 --- a/org.springframework.web.servlet/src/main/resources/META-INF/spring.tld +++ b/org.springframework.web.servlet/src/main/resources/META-INF/spring.tld @@ -1,69 +1,66 @@ - - + + - - - 2.5 - 1.2 + Spring Framework JSP Tag Library + 3.0 spring http://www.springframework.org/tags - Spring Framework JSP Tag Library - + - htmlEscape - org.springframework.web.servlet.tags.HtmlEscapeTag - JSP Sets default HTML escape value for the current page. Overrides a "defaultHtmlEscape" context-param in web.xml, if any. + htmlEscape + org.springframework.web.servlet.tags.HtmlEscapeTag + JSP + Set the default value for HTML escaping, to be put + into the current PageContext. defaultHtmlEscape true true - Set the default value for HTML escaping, to be put - into the current PageContext. - + - escapeBody - org.springframework.web.servlet.tags.EscapeBodyTag - JSP 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). + escapeBody + org.springframework.web.servlet.tags.EscapeBodyTag + JSP + Set HTML escaping for this tag, as boolean value. Overrides the + default HTML escaping setting for the current page. htmlEscape false true - Set HTML escaping for this tag, as boolean value. Overrides the - default HTML escaping setting for the current page. + Set JavaScript escaping for this tag, as boolean value. + Default is false. javaScriptEscape false true - Set JavaScript escaping for this tag, as boolean value. - Default is false. - + - message - org.springframework.web.servlet.tags.MessageTag - JSP 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). + message + org.springframework.web.servlet.tags.MessageTag + JSP - message - false - true A MessageSourceResolvable argument (direct or through JSP EL). Fits nicely when used in conjunction with Spring's own validation error classes which all implement the MessageSourceResolvable interface. For @@ -71,347 +68,350 @@ passing each error (using a runtime expression) as the value of this 'message' attribute, thus effecting the easy display of such error messages. + message + false + true + The code (key) to use when looking up the message. + If code is not provided, the text attribute will be used. code false true - The code (key) to use when looking up the message. - If code is not provided, the text attribute will be used. - arguments - false - true Set optional message arguments for this tag, as a (comma-)delimited String (each String argument can contain JSP EL), an Object array (used as argument array), or a single Object (used as single argument). + arguments + false + true + The separator character to be used for splitting the + arguments string value; defaults to a 'comma' (','). argumentSeparator false true - The separator character to be used for splitting the - arguments string value; defaults to a 'comma' (','). - text - false - true Default text to output when a message for the given code could not be found. If both text and code are not set, the tag will output null. - - - var + text false true + + The string to use when binding the result to the page, request, session or application scope. If not specified, the result gets outputted to the writer (i.e. typically directly to the JSP). - - - scope + var false true + + The scope to use when exporting the result to a variable. This attribute is only used when var is also set. Possible values are page, request, session and application. + scope + false + true + Set HTML escaping for this tag, as boolean value. + Overrides the default HTML escaping setting for the current page. htmlEscape false true - Set HTML escaping for this tag, as boolean value. - Overrides the default HTML escaping setting for the current page. + Set JavaScript escaping for this tag, as boolean value. Default is false. javaScriptEscape false true - Set JavaScript escaping for this tag, as boolean value. Default is false. - + - theme - org.springframework.web.servlet.tags.ThemeTag - JSP 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). + theme + org.springframework.web.servlet.tags.ThemeTag + JSP + A MessageSourceResolvable argument (direct or through JSP EL). message false true - A MessageSourceResolvable argument (direct or through JSP EL). + The code (key) to use when looking up the message. + If code is not provided, the text attribute will be used. code false true - The code (key) to use when looking up the message. - If code is not provided, the text attribute will be used. - arguments - false - true Set optional message arguments for this tag, as a (comma-)delimited String (each String argument can contain JSP EL), an Object array (used as argument array), or a single Object (used as single argument). + arguments + false + true + The separator character to be used for splitting the + arguments string value; defaults to a 'comma' (','). argumentSeparator false true - The separator character to be used for splitting the - arguments string value; defaults to a 'comma' (','). - text - false - true Default text to output when a message for the given code could not be found. If both text and code are not set, the tag will output null. - - - var + text false true + + The string to use when binding the result to the page, request, session or application scope. If not specified, the result gets outputted to the writer (i.e. typically directly to the JSP). - - - scope + var false true + + The scope to use when exporting the result to a variable. This attribute is only used when var is also set. Possible values are page, request, session and application. + scope + false + true + Set HTML escaping for this tag, as boolean value. + Overrides the default HTML escaping setting for the current page. htmlEscape false true - Set HTML escaping for this tag, as boolean value. - Overrides the default HTML escaping setting for the current page. + Set JavaScript escaping for this tag, as boolean value. Default is false. javaScriptEscape false true - Set JavaScript escaping for this tag, as boolean value. Default is false. - + - hasBindErrors - org.springframework.web.servlet.tags.BindErrorsTag - JSP 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). + hasBindErrors + org.springframework.web.servlet.tags.BindErrorsTag + JSP errors org.springframework.validation.Errors - name - true - true The name of the bean in the request, that needs to be inspected for errors. If errors are available for this bean, they will be bound under the 'errors' key. + name + true + true + Set HTML escaping for this tag, as boolean value. + Overrides the default HTML escaping setting for the current page. htmlEscape false true - Set HTML escaping for this tag, as boolean value. - Overrides the default HTML escaping setting for the current page. - + - nestedPath - org.springframework.web.servlet.tags.NestedPathTag - JSP Sets a nested path to be used by the bind tag's path. + nestedPath + org.springframework.web.servlet.tags.NestedPathTag + JSP nestedPath java.lang.String - path - true - true Set the path that this tag should apply. E.g. 'customer' to allow bind paths like 'address.street' rather than 'customer.address.street'. + path + true + true - + - bind - org.springframework.web.servlet.tags.BindTag - JSP 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). + bind + org.springframework.web.servlet.tags.BindTag + JSP status org.springframework.web.servlet.support.BindStatus - path - true - true The path to the bean or bean property to bind status information for. For instance account.name, company.address.zipCode or just employee. The status object will exported to the page scope, specifically for this bean or bean property + path + true + true + Set whether to ignore a nested path, if any. Default is to not ignore. ignoreNestedPath false true - Set whether to ignore a nested path, if any. Default is to not ignore. + Set HTML escaping for this tag, as boolean value. Overrides + the default HTML escaping setting for the current page. htmlEscape false true - Set HTML escaping for this tag, as boolean value. Overrides - the default HTML escaping setting for the current page. - + - transform - org.springframework.web.servlet.tags.TransformTag - JSP Provides transformation of variables to Strings, using an appropriate 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). + transform + org.springframework.web.servlet.tags.TransformTag + JSP - value - true - true The value to transform. This is the actual object you want to have transformed (for instance a Date). Using the PropertyEditor that is currently in use by the 'spring:bind' tag. + value + true + true - var - false - true The string to use when binding the result to the page, request, session or application scope. If not specified, the result gets outputted to the writer (i.e. typically directly to the JSP). - - - scope - false - true - The scope to use when exported the result to a variable. - This attribute is only used when var is also set. Possible values are - page, request, session and application. - - - htmlEscape - false - true - Set HTML escaping for this tag, as boolean value. Overrides - the default HTML escaping setting for the current page. - - - - - url - org.springframework.web.servlet.tags.UrlTag - JSP - URL tag based on the JSTL c:url tag. This variant is fully - backwards compatible with the standard tag. Enhancements include support - for URL template parameters. - - value - true - true - The URL to build. This value can include template place holders - that are replaced with the URL encoded value of the named parameter. Parameters - must be defined using the param tag inside the body of this tag. - - - context - false - true - Specifies a remote application context. The default is the - current application context. - - var false true - The name of the variable to export the URL value to. + The scope to use when exported the result to a variable. + This attribute is only used when var is also set. Possible values are + page, request, session and application. scope false true - The scope for the var. 'application', 'session', 'request' and - 'page' scopes are supported. Defaults to page scope. This attribute has no - effect unless the var attribute is also defined. + Set HTML escaping for this tag, as boolean value. Overrides + the default HTML escaping setting for the current page. htmlEscape false true - Set HTML escaping for this tag, as boolean value. Overrides the - default HTML escaping setting for the current page. + + + + + URL tag based on the JSTL c:url tag. This variant is fully + backwards compatible with the standard tag. Enhancements include support + for URL template parameters. + url + org.springframework.web.servlet.tags.UrlTag + JSP + + The URL to build. This value can include template place holders + that are replaced with the URL encoded value of the named parameter. Parameters + must be defined using the param tag inside the body of this tag. + value + true + true + Specifies a remote application context. The default is the + current application context. + context + false + true + + + The name of the variable to export the URL value to. + var + false + true + + + The scope for the var. 'application', 'session', 'request' and + 'page' scopes are supported. Defaults to page scope. This attribute has no + effect unless the var attribute is also defined. + scope + false + true + + + Set HTML escaping for this tag, as boolean value. Overrides the + default HTML escaping setting for the current page. + htmlEscape + false + true + + + Set JavaScript escaping for this tag, as boolean value. + Default is false. javaScriptEscape false true - Set JavaScript escaping for this tag, as boolean value. - Default is false. - + + Parameter tag based on the JSTL c:param tag. The sole purpose is to + support params inside the spring:url tag. param org.springframework.web.servlet.tags.ParamTag JSP - Parameter tag based on the JSTL c:param tag. The sole purpose is to - support params inside the spring:url tag. + The name of the parameter. name true true - The name of the parameter. + The value of the parameter. value false true - The value of the parameter. - - + + \ No newline at end of file