天天看點

【Spring】Spring Framework Reference Documentation中文版39

翻譯的最後一部分,附上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标準屬性

繼續閱讀