10. Tomahawk Tag Reference
Contents > Tomahawk Tag Reference > t:stylesheet
t:stylesheet |
|
The t:stylesheet tag renders an HTML link element pointing to a cascading style sheet file. It can also display the contents of the CSS file as a style element when the "inline" attribute is true.
Example:
<t:stylesheet></t:stylesheet>
|
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. |
| id |
String |
| |
| The unique identifier value for this component. The value must be unique within the closest naming container. |
| inline |
String |
| |
| The inline attribute expects a boolean value that, when true, causes the stylesheet contents to be displayed as an HTML style element rather than as an HTML link element pointing to an external stylesheet. |
| path |
String |
| Required |
| The path attribute specifies the path to the stylesheet to be rendered. |
| 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. |
|