Renders a set of HTML <option>
elements,
representing possible choices for a <select>
element. This tag can be used multiple times within a single
<html:select>
element, either in conjunction
with or instead of one or more <html:option>
or <html:options>
elements.
This tag operates on a collection of beans, where each bean
has a label property and a value
property. The actual names of these properties can be configured
using the label
and value
attributes
of this tag.
This tag differs from the <html:options>
tag
in that it makes more consistent use of the name
and
property
attributes, and allows the collection to be
more easily obtained from the enclosing form bean.
Note that this tag does not support a styleId
attribute, as it would have to apply the value to all the
option
elements created by this element, which would
mean that more than one id
element might have the same
value, which the HTML specification says is illegal.