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 |
Expression |
| |
| The value-binding expression linking this component tag to a backing bean property. |
| enumValue |
Text |
| Required |
| The value of the enum item as a String. |
| id |
Text |
| |
| The unique identifier value for this component. The value must be unique within the closest naming container. |
| label |
Text |
| |
| The text to display in the SelectItem when rendering this enum item. |
| rendered |
Boolean |
| |
| A value-binding expression that evaluates to a Boolean condition indicating if this component should be rendered. |
|