10. Tomahawk Tag Reference
Contents > Tomahawk Tag Reference > t:div
t:div |
|
The t:div tag renders an HTML div tag around its children.
Example
<t:div></t:div>
|
Tag Attributes
| binding |
Expression |
| |
| The value-binding expression linking this component tag to a backing bean property. |
| enabledOnUserRole |
Text |
| |
| The enabledOnUserRole attribute determines if this component will be rendered normally or not depending on the user's roles. |
| forceId |
Boolean |
| |
| The forceId attribute expects a boolean value, that when set to true, forces the tag to render its ID exactly as specified in the ID attribute. This allows you to apply CSS styles to the tag and to reference it in JavaScript by ID, which is typically not possible using the default JSF component ID naming system. This attribute is false by default. |
| forceIdIndex |
Text |
| |
| The forceIdIndex attribute effects the component ID name when this component is rendered at runtime. It expects a boolean value that, when true, causes the component to display an index number in its ID value if the component is in a list. It has a default value of true. |
| id |
Text |
| |
| The unique identifier value for this component. The value must be unique within the closest naming container. |
| rendered |
Boolean |
| |
| A value-binding expression that evaluates to a Boolean condition indicating if this component should be rendered. |
| style |
CSS Style |
| |
| The style attribute sets the CSS style definition to be applied to this component when it is rendered. |
| styleClass |
CSS Class |
| |
| The styleClass attribute sets the CSS class to apply to this component when it is rendered. |
| visibleOnUserRole |
Text |
| |
| The visibleOnUserRole attribute determines if this component will be visible or not depending on the user's roles. |
|