10. Seam Tag Reference
Contents > Seam Tag Reference > s:div
s:div |
|
The s:div tag renders a simple HTML div tag that can be rendered or hidden dynamically using a value-binding expression for the "rendered" attribute.
Example
<s:div rendered="#{userBean.administrator}">Welcome, Administrator</s:div>
|
Tag Attributes
| binding |
Expression |
| |
| The value-binding expression linking this component tag to a backing bean property. |
| 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. |
|