<p>The <tr:selectItem> tag is a child item that is used in a list, choice, radio or shuttle tag.</p>
Example
<tr:selectItem label="Select" value="0" />
HTML Output
<option value="0">Select</option>
Tag Attributes
attributeChangeListener
Text
a method reference to an attribute change listener. Attribute change events are not delivered for any programmatic change to a property. They are only delivered when a renderer changes a property without the application's specific request. An example of an attribute change events might include the width of a column that supported client-side resizing.
binding
Expression
an EL reference that will store the component instance on a
bean. This can be used to give programmatic access to a component
from a backing bean, or to move creation of the component to a backing bean.
disabled
Text
whether the item is disabled. By default, no items are disabled.
id
Text
the identifier for the component
label
Text
The label attribute sets the text that is displayed before the component.
longDesc
Text
the description associated with this option. This is used in selectManyShuttle and selectOrderShuttle, and ignored otherwise.
rendered
Text
whether the component is rendered. When set to false, no output will be delivered for this component.
shortDesc
Text
The short description of the component. This text is commonly used by user agents to display tooltip help text.
value
Text
the value used to identify this item when the parent control is submitted to the server. If no value is specified for a particular item, the item's contents will be used as its value.