10. Seam Tag Reference
Contents > Seam Tag Reference > s:span
s:span |
|
The s:span tag renders a simple HTML span tag that can be rendered or hidden dynamically using a value-binding expression for the "rendered" attribute.
Example:
<s:span style="color:red; font-weight:bold" rendered="#{formBean.error}">Please check your input.</s:span>
|
Tag Attributes
| binding |
String |
| |
| The value-binding expression linking this component tag to a backing bean property. |
| id |
String |
| |
| The unique identifier value for this component. The value must be unique within the closest naming container. |
| rendered |
String |
| |
| A value-binding expression that evaluates to a Boolean condition indicating if this component should be rendered. |
| style |
String |
| |
| The style attribute sets the CSS style definition to be applied to this component when it is rendered. |
| styleClass |
String |
| |
| The styleClass attribute sets the CSS class to apply to this component when it is rendered. |
|