翻译的最后一部分,附上word文档的链接,
http://download.csdn.net/download/kingdz618/9933242
44. spring-form JSP Tag Library
spring格式的JSP标签库
44.1 Introduction
介绍
One of the view technologies you can use with the Spring Framework is Java Server Pages (JSPs). To help you implement views using Java Server Pages the Spring Framework provides you with some tags for evaluating errors, setting themes and outputting internationalized messages.
你可以使用的其中一个视图技术就是JSP。来帮助你实现视图使用JSP的spring框架提供给你一些标签用于处理错误、设置主题和输出国际化的消息。
Please note that the various tags generated by this form tag library are compliant with the XHTML-1.0-Strict specification and attendant DTD.
请注意不同标签由这个form标签库生成符合XHTML-1.0-Strict规范和相应的DTD。
This appendix describes the spring-form.tld tag library.
Section 44.2, “The button tag”
Section 44.3, “The checkbox tag”
Section 44.4, “The checkboxes tag”
Section 44.5, “The errors tag”
Section 44.6, “The form tag”
Section 44.7, “The hidden tag”
Section 44.8, “The input tag”
Section 44.9, “The label tag”
Section 44.10, “The option tag”
Section 44.11, “The options tag”
Section 44.12, “The password tag”
Section 44.13, “The radiobutton tag”
Section 44.14, “The radiobuttons tag”
Section 44.15, “The select tag”
Section 44.16, “The textarea tag”
44.2 The button tag
Renders a form field label in an HTML 'button' tag.
解析form表单中的HTML的button标签。
Table 44.1. Attributes
Attribute 属性 | Required? 是否必须 | Runtime Expression? | Description 描述 |
disabled | FALSE | TRUE | HTML Optional Attribute. Setting the value of this attribute to 'true' will disable the HTML element. HTML的可选属性。设置这个属性为true将关闭HTML元素。 |
id | FALSE | TRUE | HTML Standard Attribute HTML的标准属性 |
name | FALSE | TRUE | The name attribute for the HTML button tag |
value | FALSE | TRUE | The name attribute for the HTML button tag |
44.3 The checkbox tag
Renders an HTML 'input' tag with type 'checkbox'.
解析HTML标签中类型为checkbox
Table 44.2. Attributes
Attribute 属性 | Required? 是否必须 | Runtime Expression? | Description 描述 |
accesskey | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
cssClass | FALSE | TRUE | Equivalent to "class" - HTML Optional Attribute 等同于class,HTML的可选属性 |
cssErrorClass | FALSE | TRUE | Equivalent to "class" - HTML Optional Attribute. Used when the bound field has errors. 等同于class,HTML的可选属性。当有错误时使用 |
cssStyle | FALSE | TRUE | Equivalent to "style" - HTML Optional Attribute 等同于style,HTML可选属性 |
dir | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
disabled | FALSE | TRUE | HTML Optional Attribute. Setting the value of this attribute to 'true' will disable the HTML element. HTML可选属性,设置这个值为true时将关闭HTML元素 |
htmlEscape | FALSE | TRUE | Enable/disable HTML escaping of rendered values. 开启和关闭解析值的逃逸 |
id | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
label | FALSE | TRUE | Value to be displayed as part of the tag 作为标签的值来展示 |
lang | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
onblur | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onchange | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onclick | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
ondblclick | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onfocus | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onkeydown | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onkeypress | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onkeyup | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmousedown | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmousemove | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmouseout | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmouseover | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmouseup | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
path | TRUE | TRUE | Path to property for data binding 属性path用于数据绑定 |
tabindex | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
title | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
value | FALSE | TRUE | HTML Optional Attribute HTML可选属性 |
44.4 The checkboxes tag
Renders multiple HTML 'input' tags with type 'checkbox'.
解析多个HTML的input标签,类型为checkbox
Table 44.3. Attributes
Attribute 属性 | Required? 是否必须 | Runtime Expression? | Description 描述 |
accesskey | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
cssClass | FALSE | TRUE | Equivalent to "class" - HTML Optional Attribute 相当于class,HTML可选属性 |
cssErrorClass | FALSE | TRUE | Equivalent to "class" - HTML Optional Attribute. Used when the bound field has errors. 相当于class,HTML可选手续ing,当出现错误时使用 |
cssStyle | FALSE | TRUE | Equivalent to "style" - HTML Optional Attribute 相当于style,HTML可选属性 |
delimiter | FALSE | TRUE | Delimiter to use between each 'input' tag with type 'checkbox'. There is no delimiter by default. 使用来分割input标签对于checkbox类型。默认是没有分隔符的。 |
dir | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
disabled | FALSE | TRUE | HTML Optional Attribute. Setting the value of this attribute to 'true' will disable the HTML element. HTML可选属性。设置这个属性为true将关闭HTML元素。 |
element | FALSE | TRUE | Specifies the HTML element that is used to enclose each 'input' tag with type 'checkbox'. Defaults to 'span'. 指定HTML元素使用在每个input标签中对于类型checkbox。默认是span。 |
htmlEscape | FALSE | TRUE | Enable/disable HTML escaping of rendered values. 开启或关闭HTML逃逸对于解析值 |
id | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
itemLabel | FALSE | TRUE | Value to be displayed as part of the 'input' tags with type 'checkbox' 作为input标签的部分展示对于checkbox类型 |
items | TRUE | TRUE | The Collection, Map or array of objects used to generate the 'input' tags with type 'checkbox' 集合、Map或object数组是用来生成input标签对于类型checkbox。 |
itemValue | FALSE | TRUE | Name of the property mapped to 'value' attribute of the 'input' tags with type 'checkbox' 属性的名字匹配value属性对于input标签对于类型check。 |
lang | FALSE | TRUE | HTML Standard Attribute HTML标准手续ing |
onblur | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onchange | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onclick | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
ondblclick | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onfocus | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onkeydown | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onkeypress | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onkeyup | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmousedown | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmousemove | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmouseout | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmouseover | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmouseup | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
path | TRUE | TRUE | Path to property for data binding 属性的path用于数据绑定 |
tabindex | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
title | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
44.5 The errors tag
Renders field errors in an HTML 'span' tag.
解析HTML的span标签中的错误域。
Table 44.4. Attributes
Attribute 属性 | Required? 是否必须 | Runtime Expression? | Description 描述 |
cssClass | FALSE | TRUE | Equivalent to "class" - HTML Optional Attribute 相当于class,HTML可选属性 |
cssStyle | FALSE | TRUE | Equivalent to "class" - HTML Optional Attribute. Used when the bound field has errors. 相当于class,HTML可选手续ing,当出现错误时使用 |
delimiter | FALSE | TRUE | Delimiter for displaying multiple error messages. Defaults to the br tag. 对于展示多个错误消息的分隔符。默认是br。 |
dir | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
element | FALSE | TRUE | Specifies the HTML element that is used to render the enclosing errors. 指定HTML元素使用解析错误 |
htmlEscape | FALSE | TRUE | Enable/disable HTML escaping of rendered values. 开启或关闭HTML逃逸对于解析值 |
id | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
lang | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
onclick | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
ondblclick | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onkeydown | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onkeypress | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onkeyup | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmousedown | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmousemove | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmouseout | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmouseover | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmouseup | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
path | FALSE | TRUE | Path to errors object for data binding errors的object的path用于数据绑定 |
tabindex | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
title | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
44.6 The form tag
Renders an HTML 'form' tag and exposes a binding path to inner tags for binding.
解析HTML的form标签和暴露绑定路径对于内部绑定的标签。
Table 44.5. Attributes
Attribute 属性 | Required? 是否必须 | Runtime Expression? | Description 描述 |
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. 指定字符编码的列表用于输入的数据接收来自服务器处理这个表单。值是空格或逗号分隔的字符集合列表。客户端必须处理列表,例如服务可以接收任何单个字符编码对于每个实体的处理。 |
action | FALSE | TRUE | HTML Required Attribute HTML必输属性 |
cssClass | FALSE | TRUE | Equivalent to "class" - HTML Optional Attribute 相当于class,HTML可选属性 |
cssStyle | FALSE | TRUE | Equivalent to "style" - HTML Optional Attribute 相当于style,HTML可选属性 |
dir | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
enctype | FALSE | TRUE | HTML Optional Attribute HTML可选属性 |
htmlEscape | FALSE | TRUE | Enable/disable HTML escaping of rendered values. 开启或关闭HTML逃逸对于解析值 |
id | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
lang | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
method | FALSE | TRUE | HTML Optional Attribute HTML可选属性 |
methodParam | FALSE | TRUE | The parameter name used for HTTP methods other then GET and POST. Default is '_method'. 参数名使用用于HTTP方法除了GET和POST。默认是_method |
modelAttribute | FALSE | TRUE | Name of the model attribute under which the form object is exposed. Defaults to 'command'. model属性的名字用于表单object的暴露。默认是command。 |
name | FALSE | TRUE | HTML Standard Attribute - added for backwards compatibility cases HTML标准属性,添加兼容。 |
onclick | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
ondblclick | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onkeydown | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onkeypress | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onkeyup | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmousedown | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmousemove | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmouseout | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmouseover | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmouseup | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onreset | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onsubmit | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
servletRelativeAction | FALSE | TRUE | Action reference to be appended to the current servlet path action引用对于追加servlet路径 |
target | FALSE | TRUE | HTML Optional Attribute HTML可选属性 |
title | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
44.7 The hidden tag
Renders an HTML 'input' tag with type 'hidden' using the bound value.
解析HTML中input标签使用类型hidden用于绑定值。
Table 44.6. Attributes
Attribute 属性 | Required? 是否必须 | Runtime Expression? | Description 描述 |
htmlEscape | FALSE | TRUE | Enable/disable HTML escaping of rendered values. 开启或关闭HTML逃逸对于解析值 |
id | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
path | TRUE | TRUE | Path to property for data binding path属性用于数据绑定 |
44.8 The input tag
Renders an HTML 'input' tag with type 'text' using the bound value.
解析HTML中的input标签对于类型text使用绑定值。
Table 44.7. Attributes
Attribute 属性 | Required? 是否必须 | Runtime Expression? | Description 描述 |
accesskey | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
alt | FALSE | TRUE | HTML Optional Attribute HTML可选属性 |
autocomplete | FALSE | TRUE | Common Optional Attribute 通用可选属性 |
cssClass | FALSE | TRUE | Equivalent to "class" - HTML Optional Attribute 相当于class,HTML可选属性 |
cssErrorClass | FALSE | TRUE | Equivalent to "class" - HTML Optional Attribute. Used when the bound field has errors. 相当于class,HTML可选属性,当发生错误时使用 |
cssStyle | FALSE | TRUE | Equivalent to "style" - HTML Optional Attribute 相当于style,HTML可选属性 |
dir | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
disabled | FALSE | TRUE | HTML Optional Attribute. Setting the value of this attribute to 'true' will disable the HTML element. HTML可选属性。设置这个值为true将关闭HTML元素 |
htmlEscape | FALSE | TRUE | Enable/disable HTML escaping of rendered values. 开启或关闭逃逸对于解析值 |
id | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
lang | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
maxlength | FALSE | TRUE | HTML Optional Attribute HTML可选属性 |
onblur | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onchange | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onclick | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
ondblclick | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onfocus | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onkeydown | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onkeypress | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onkeyup | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmousedown | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmousemove | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmouseout | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmouseover | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmouseup | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onselect | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
path | TRUE | TRUE | Path to property for data binding path属性用于数据绑定 |
readonly | FALSE | TRUE | HTML Optional Attribute. Setting the value of this attribute to 'true' will make the HTML element readonly. HTML可选属性。设置这个值为true将使得HTML元素成为只读状态。 |
size | FALSE | TRUE | HTML Optional Attribute HTML可选属性 |
tabindex | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
title | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
44.9 The label tag
Renders a form field label in an HTML 'label' tag.
解析表单域在HTML的label标签中。
Table 44.8. Attributes
Attribute 属性 | Required? 是否必须 | Runtime Expression? | Description 描述 |
cssClass | FALSE | TRUE | Equivalent to "class" - HTML Optional Attribute. 相当于class,HTML可选属性 |
cssErrorClass | FALSE | TRUE | Equivalent to "class" - HTML Optional Attribute. Used only when errors are present. 相当于class,HTML可选属性,当发生错误的时候使用 |
cssStyle | FALSE | TRUE | Equivalent to "style" - HTML Optional Attribute 相当于style,HTML可选属性 |
dir | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
for | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
htmlEscape | FALSE | TRUE | Enable/disable HTML escaping of rendered values. 开启或关闭HTML逃逸对于解析值 |
id | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
lang | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
onclick | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
ondblclick | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onkeydown | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onkeypress | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onkeyup | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmousedown | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmousemove | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmouseout | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmouseover | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmouseup | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
path | TRUE | TRUE | Path to errors object for data binding errors的object的path用于数据绑定 |
tabindex | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
title | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
44.10 The option tag
Renders a single HTML 'option'. Sets 'selected' as appropriate based on bound value.
解析单个HTML的option。设置selected作为值基于绑定的值。
Table 44.9. Attributes
Attribute 属性 | Required? 是否必须 | Runtime Expression? | Description 描述 |
cssClass | FALSE | TRUE | Equivalent to "class" - HTML Optional Attribute 相当于class,HTML可选属性 |
cssErrorClass | FALSE | TRUE | Equivalent to "class" - HTML Optional Attribute. Used when the bound field has errors. 相当于class,HTML可选属性,当发生错误的时候使用。 |
cssStyle | FALSE | TRUE | Equivalent to "style" - HTML Optional Attribute 相当于style,HTML可选属性 |
dir | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
disabled | FALSE | TRUE | HTML Optional Attribute. Setting the value of this attribute to 'true' will disable the HTML element. HTML可选属性。设置这个值为true将关闭HTML元素 |
htmlEscape | FALSE | TRUE | Enable/disable HTML escaping of rendered values. 开启或关闭逃逸对于解析值 |
id | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
label | FALSE | TRUE | HTML Optional Attribute HTML可选属性 |
lang | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
onclick | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
ondblclick | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onkeydown | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onkeypress | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onkeyup | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmousedown | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmousemove | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmouseout | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmouseover | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmouseup | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
tabindex | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
title | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
value | TRUE | TRUE | HTML Optional Attribute HTML可选属性 |
44.11 The options tag
Renders a list of HTML 'option' tags. Sets 'selected' as appropriate based on bound value.
解析HTML的option的列表。设置selected作为值基于绑定值。
Table 44.10. Attributes
Attribute 属性 | Required? 是否必须 | Runtime Expression? | Description 描述 |
cssClass | FALSE | TRUE | Equivalent to "class" - HTML Optional Attribute 相当于class,HTML可选属性 |
cssErrorClass | FALSE | TRUE | Equivalent to "class" - HTML Optional Attribute. Used when the bound field has errors. 相当于class,HTML可选属性,当有错误的时候使用 |
cssStyle | FALSE | TRUE | Equivalent to "style" - HTML Optional Attribute 相当于style,HTML可选属性 |
dir | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
disabled | FALSE | TRUE | HTML Optional Attribute. Setting the value of this attribute to 'true' will disable the HTML element. HTML可选属性。设置属性为true将关闭HTML元素 |
htmlEscape | FALSE | TRUE | Enable/disable HTML escaping of rendered values. 开启或关闭逃逸对于解析值。 |
id | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
itemLabel | FALSE | TRUE | Name of the property mapped to the inner text of the 'option' tag 属性的name匹配内部option标签中的文本。 |
items | TRUE | TRUE | The Collection, Map or array of objects used to generate the inner 'option' tags 集合、Map或object数组使用来生成内部的option标签。 |
itemValue | FALSE | TRUE | Name of the property mapped to 'value' attribute of the 'option' tag 属性的name匹配value属性对于option标签。 |
lang | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
onclick | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
ondblclick | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onkeydown | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onkeypress | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onkeyup | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmousedown | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmousemove | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmouseout | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmouseover | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmouseup | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
tabindex | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
title | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
44.12 The password tag
Renders an HTML 'input' tag with type 'password' using the bound value.
解析HTML的input标签,类型为password使用的绑定值。
Table 44.11. Attributes
Attribute 属性 | Required? 是否必须 | Runtime Expression? | Description 描述 |
accesskey | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
alt | FALSE | TRUE | HTML Optional Attribute HTML可选属性 |
autocomplete | FALSE | TRUE | Common Optional Attribute 命令可选属性 |
cssClass | FALSE | TRUE | Equivalent to "class" - HTML Optional Attribute 相当于class,HTML可选属性 |
cssErrorClass | FALSE | TRUE | Equivalent to "class" - HTML Optional Attribute. Used when the bound field has errors. 相当于class,HTML可选属性,发生错误的时候使用 |
cssStyle | FALSE | TRUE | Equivalent to "style" - HTML Optional Attribute 相当于style,HTML可选属性 |
dir | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
disabled | FALSE | TRUE | HTML Optional Attribute. Setting the value of this attribute to 'true' will disable the HTML element. HTML可选属性。设置这个值为true将关闭HTML元素。 |
htmlEscape | FALSE | TRUE | Enable/disable HTML escaping of rendered values. 开启或关闭逃逸对于解析值。 |
id | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
lang | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
maxlength | FALSE | TRUE | HTML Optional Attribute HTML可选属性 |
onblur | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onchange | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onclick | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
ondblclick | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onfocus | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onkeydown | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onkeypress | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onkeyup | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmousedown | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmousemove | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmouseout | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmouseover | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmouseup | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onselect | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
path | TRUE | TRUE | Path to property for data binding path属性用于数据绑定 |
readonly | FALSE | TRUE | HTML Optional Attribute. Setting the value of this attribute to 'true' will make the HTML element readonly. HTML可选属性。设置这个值为true将使得HTML元素只读。 |
showPassword | FALSE | TRUE | Is the password value to be shown? Defaults to false. 是否展示密码明文?默认为false。 |
size | FALSE | TRUE | HTML Optional Attribute HTML可选属性 |
tabindex | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
title | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
44.13 The radiobutton tag
Renders an HTML 'input' tag with type 'radio'.
解析HTML的input标签使用类型radio。
Table 44.12. Attributes
Attribute 属性 | Required? 是否必须 | Runtime Expression? | Description 描述 |
accesskey | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
cssClass | FALSE | TRUE | Equivalent to "class" - HTML Optional Attribute 相当于class,HTML可选属性 |
cssErrorClass | FALSE | TRUE | Equivalent to "class" - HTML Optional Attribute. Used when the bound field has errors. 相当于class,HTML可选属性,有错误的时候使用 |
cssStyle | FALSE | TRUE | Equivalent to "style" - HTML Optional Attribute 相当于style,HTML可选属性 |
dir | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
disabled | FALSE | TRUE | HTML Optional Attribute. Setting the value of this attribute to 'true' will disable the HTML element. HTML可选属性。设置这个值为true将关闭HTML元素。 |
htmlEscape | FALSE | TRUE | Enable/disable HTML escaping of rendered values. 开启或关闭逃逸对于解析值。 |
id | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
label | FALSE | TRUE | Value to be displayed as part of the tag 展示的值作为标签的一部分。 |
lang | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
onblur | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onchange | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onclick | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
ondblclick | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onfocus | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onkeydown | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onkeypress | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onkeyup | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmousedown | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmousemove | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmouseout | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmouseover | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmouseup | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
path | TRUE | TRUE | Path to property for data binding path属性用于数据绑定 |
tabindex | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
title | FALSE | TRUE | HTML Standard Attribute HTMl标准属性 |
value | FALSE | TRUE | HTML Optional Attribute HTML可选属性 |
44.14 The radiobuttons tag
Renders multiple HTML 'input' tags with type 'radio'.
解析多个HTML属性标签对于radio类型。
Table 44.13. Attributes
Attribute 属性 | Required? 是否必须 | Runtime Expression? | Description 描述 |
accesskey | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
cssClass | FALSE | TRUE | Equivalent to "class" - HTML Optional Attribute 相当于class,HTML可选属性 |
cssErrorClass | FALSE | TRUE | Equivalent to "class" - HTML Optional Attribute. Used when the bound field has errors. 相当于class,HTML可选属性,发生错误的时候使用 |
cssStyle | FALSE | TRUE | Equivalent to "style" - HTML Optional Attribute 相当于style,HTML可选属性 |
delimiter | FALSE | TRUE | Delimiter to use between each 'input' tag with type 'radio'. There is no delimiter by default. 分隔符使用对于每个input标签对于radio类型。默认是没有分隔符。 |
dir | FALSE | TRUE | HTML Standard Attribute HTML标准属性。 |
disabled | FALSE | TRUE | HTML Optional Attribute. Setting the value of this attribute to 'true' will disable the HTML element. HTML可选属性。设置这个值为true将关闭HTML元素。 |
element | FALSE | TRUE | Specifies the HTML element that is used to enclose each 'input' tag with type 'radio'. Defaults to 'span'. 指定使用的HTML呀U尿素对于每个input标签对于类型radio。默认是span。 |
htmlEscape | FALSE | TRUE | Enable/disable HTML escaping of rendered values. 开启或关闭逃逸对于解析值。 |
id | FALSE | TRUE | HTML Standard Attribute HTML标准属性。 |
itemLabel | FALSE | TRUE | Value to be displayed as part of the 'input' tags with type 'radio' 显示的值作为input标签对于radio类型的一部分。 |
items | TRUE | TRUE | The Collection, Map or array of objects used to generate the 'input' tags with type 'radio' 集合、map或object属性用于生成input标签使用radio类型。 |
itemValue | FALSE | TRUE | Name of the property mapped to 'value' attribute of the 'input' tags with type 'radio' 属性的名字对于value属性对于input标签类型为radio |
lang | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
onblur | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onchange | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onclick | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
ondblclick | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onfocus | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onkeydown | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onkeypress | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onkeyup | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmousedown | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmousemove | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmouseout | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmouseover | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmouseup | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
path | TRUE | TRUE | Path to property for data binding path属性用于数据绑定 |
tabindex | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
title | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
44.15 The select tag
Renders an HTML 'select' element. Supports databinding to the selected option.
解析HTML的select元素。支持数据绑定对于选定的值。
Table 44.14. Attributes
Attribute 属性 | Required? 是否必须 | Runtime Expression? | Description 描述 |
accesskey | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
cssClass | FALSE | TRUE | Equivalent to "class" - HTML Optional Attribute 相当于class,HTML可选属性 |
cssErrorClass | FALSE | TRUE | Equivalent to "class" - HTML Optional Attribute. Used when the bound field has errors. 相当于class,HTML可选属性,发生错误的时候使用 |
cssStyle | FALSE | TRUE | Equivalent to "style" - HTML Optional Attribute 相当于style,HTML可选属性 |
dir | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
disabled | FALSE | TRUE | HTML Optional Attribute. Setting the value of this attribute to 'true' will disable the HTML element. HTML可选属性。设置这个值为true将关闭HTML元素。 |
htmlEscape | FALSE | TRUE | Enable/disable HTML escaping of rendered values. 开启或关闭HTML逃逸对于解析值。 |
id | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
itemLabel | FALSE | TRUE | Name of the property mapped to the inner text of the 'option' tag 属性的name匹配内部的option标签的文本 |
items | FALSE | TRUE | The Collection, Map or array of objects used to generate the inner 'option' tags 集合、map或object数组用于生成内部的option标签。 |
itemValue | FALSE | TRUE | Name of the property mapped to 'value' attribute of the 'option' tag 属性的name匹配value属性对于option标签。 |
lang | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
multiple | FALSE | TRUE | HTML Optional Attribute HTML可选属性 |
onblur | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onchange | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onclick | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
ondblclick | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onfocus | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onkeydown | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onkeypress | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onkeyup | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmousedown | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmousemove | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmouseout | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmouseover | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmouseup | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
path | TRUE | TRUE | Path to property for data binding path属性用于数据绑定。 |
size | FALSE | TRUE | HTML Optional Attribute HTML可选属性 |
tabindex | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
title | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
44.16 The textarea tag
Renders an HTML 'textarea'.
解析HTML中的textarea
Table 44.15. Attributes
Attribute 属性 | Required? 是否必须 | Runtime Expression? | Description 描述 |
accesskey | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
cols | FALSE | TRUE | HTML Required Attribute HTML要求属性 |
cssClass | FALSE | TRUE | Equivalent to "class" - HTML Optional Attribute 相当于class,HTML可选属性 |
cssErrorClass | FALSE | TRUE | Equivalent to "class" - HTML Optional Attribute. Used when the bound field has errors. 相当于class,HTML可选属性,当有错误发生的时候使用 |
cssStyle | FALSE | TRUE | Equivalent to "style" - HTML Optional Attribute 相当于style,HTML可选属性 |
dir | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
disabled | FALSE | TRUE | HTML Optional Attribute. Setting the value of this attribute to 'true' will disable the HTML element. HTML可选属性。设置为false,将关闭HTML元素 |
htmlEscape | FALSE | TRUE | Enable/disable HTML escaping of rendered values. 开启或关闭HTML逃逸对于解析值 |
id | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
lang | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
onblur | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onchange | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onclick | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
ondblclick | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onfocus | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onkeydown | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onkeypress | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onkeyup | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmousedown | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmousemove | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmouseout | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmouseover | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onmouseup | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
onselect | FALSE | TRUE | HTML Event Attribute HTML事件属性 |
path | TRUE | TRUE | Path to property for data binding 属性的路径用于数据绑定 |
readonly | FALSE | TRUE | HTML Optional Attribute. Setting the value of this attribute to 'true' will make the HTML element readonly. HTML可选属性。设置这个值为true将使得HTML元素成为只读 |
rows | FALSE | TRUE | HTML Required Attribute HTML要求属性 |
tabindex | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |
title | FALSE | TRUE | HTML Standard Attribute HTML标准属性 |