10. Tomahawk Tag Reference
Contents > Tomahawk Tag Reference > t:radio
t:radio |
|
The t:radio tag renders an HTML input of type "radio". The radio button can be associated with a particular f:selectItem tag using the "for" attribute. This allows the selectItem to be displayed anywhere on the page. The associated selectItem must be defined in a t:selectOneRadio tag with the layout attribute set to "spread".
Example:
<t:radio></t:radio>
|
Tag Attributes
| binding |
String |
| |
| The value-binding expression linking this component tag to a backing bean property. |
| enabledOnUserRole |
String |
| |
| The enabledOnUserRole attribute determines if this component will be rendered normally or not depending on the user's roles. |
| for |
String |
| Required |
| The for attribute is the id of the component this component extends or is part of. This attribute is required by some tags. |
| id |
String |
| |
| The unique identifier value for this component. The value must be unique within the closest naming container. |
| index |
String |
| Required |
| The index attribute specifies the numeric index of this component. |
| rendered |
String |
| |
| A value-binding expression that evaluates to a Boolean condition indicating if this component should be rendered. |
| visibleOnUserRole |
String |
| |
| The visibleOnUserRole attribute determines if this component will be visible or not depending on the user's roles. |
|