10. Seam Tag Reference
Contents > Seam Tag Reference > s:enumItem
s:enumItem |
|
The s:enumItem tag inserts a Java enum type as a UISelectItem into the UI component tree.
Example:
<s:enumItem enumValue="ENUM" label="Display Name" />
|
Tag Attributes
| binding |
String |
| |
| The value-binding expression linking this component tag to a backing bean property. |
| enumValue |
String |
| Required |
| The value of the enum item as a String. |
| id |
String |
| |
| The unique identifier value for this component. The value must be unique within the closest naming container. |
| label |
String |
| |
| The text to display in the SelectItem when rendering this enum item. |
| rendered |
String |
| |
| A value-binding expression that evaluates to a Boolean condition indicating if this component should be rendered. |
|