站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework reference 2.0.5 参考手册中文版

E.9. The options tag - Spring Framework reference 2.0.5 参考手册中文版

E.9. The options tag

Renders a list of HTML 'option' tags. Sets 'selected' as appropriate based on bound value.

表 E.8. Attributes

Attribute Required? Runtime Expression?

htmlEscape

false

true

Enable/disable HTML escaping of rendered values.

itemLabel

false

true

Name of the property mapped to the inner text of the 'option' tag

items

true

true

The Collection, Map or array of objects used to generate the inner 'option' tags

itemValue

false

true

Name of the property mapped to 'value' attribute of the 'option' tag