Help

Built with Seam

You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.

Active development of Seam Validation has been halted by Red Hat. Functionality has been added to the new Bean Validation 1.1 Spec.

Seam Validation

Provides enhanced validation features based on Hibernate Validator.


To get started, add the following dependencies to your pom.xml: :

<dependency>
   <groupId>org.jboss.seam.validation</groupId>
   <artifactId>seam-validation-api</artifactId>
   <version>3.1.0.Final</version>
</dependency>

<dependency>
   <groupId>org.jboss.seam.validation</groupId>
   <artifactId>seam-validation</artifactId>
   <version>3.1.0.Final</version>
   <scope>runtime</scope>
</dependency>
* Maven artifacts are located in the JBoss Community Repository (Learn more).

Module team

Name Module role Commit username Hometown (Time zone)
Gunnar Morling Lead gunnarmorling UTC+1
Want your name to appear in this list? Join us in #seam-dev on freenode and let us know you want to get involved.

Description

The Seam Validation module aims at integrating Hibernate Validator, the reference implementation for the Bean Validation API (JSR 303), with CDI (JSR 299).

This integration falls into two main areas:

  • Enhanced dependency injection services for validators, validator factories and constraint validators
  • Automatic validation of method parameters and return values based on Hibernate Validator's method validation feature

Release plan

Version Time frame Focus
3.0.0.CR1 2011-02-26
  • Initial release

Design whiteboard

This section serves as a whiteboard for design and ideas for this module. Ideas for future features of Seam Validation include:
  • Provide the possibility to specify the validation groups for method validation (SEAMVALIDATE-1)
  • Investigate how getter constraints might be applied to setter methods (SEAMVALIDATE-11)
  • Investigate how bean constraints could be validated upon method validation

No notes. See the issue tracker.