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:validateAll

s:validateAll

The s:validateAll tag validates all child input components bound to backing bean properties using Hibernate. (Requires the Hibernate annotations library on your classpath.)

Example

<s:validateAll>
  <s:decorate>
    <h:inputText id="username" value="#{userBean.username}" required="#{true}" maxlength="10" />
    <h:commandButton />
    <h:message for="username" styleClass="error" />
  </s:decorate>
</s:validateAll>

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.