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

s:validate

The s:validate tag validates input for a particular JSF UI component bound to a managed bean property using Hibernate Validator. (Requires the Hibernate annotations library on your classpath.)

Example:

<s:validate><h:inputText value="#{userBean.username}" required="#{true}" /></s:validate>