<p>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.</p>
Example
<s:span style="color:red; font-weight:bold" rendered="#{formBean.error}">Please check your input.</s:span>
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
Text
A value-binding expression that evaluates to a Boolean condition indicating if this component should be rendered.
style
Text
The style attribute sets the CSS style definition to be applied to this component when it is rendered.
styleClass
Text
The styleClass attribute sets the CSS class to apply to this component when it is rendered.