Documentation

Search 

Contents

  1. Introduction
  2. Getting Started
  3. Seam Concepts
  4. Component Types
  5. Design View Support
  6. Code View Support
  7. Tag Object Toolbars
  8. Property Inspectors
Selected 9. Seam Tag Reference

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 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.