E.8. The option tag

Spring Framework

E.8. The option tag

Renders a single HTML 'option'. Sets 'selected' as appropriate based on bound value.

表 E.7. Attributes

Attribute Required? Runtime Expression?

disabled

false

true

HTML Optional Attribute. Setting the value of this attribute to 'true' (without the quotes) will disable the HTML element.

htmlEscape

false

true

Enable/disable HTML escaping of rendered values.

label

false

true

HTML Optional Attribute

value

true

true

HTML Optional Attribute