Tag name: <amc:selectItem>
The selectItem tag represents a single item that the user
may select from a choice component.
<amc:selectOneChoice value="#{bean.aValue}" required="true"> <amc:selectItem label="Option1" value="1"/> <amc:selectItem label="Option1" value="2"/> <amc:selectItem label="Option1" value="3"/> </amc:selectOneChoice>
Name | Type | Supports EL? | Description |
---|---|---|---|
label | String | Yes | Defines the label of the component. |
value | Object | Yes | Specifies the value of the component. |