You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Intro

This module provides an integration of Bean-Validation implementations (JSR 303). Furthermore, it provides additional features like:

  • Type-safe group validation
  • Model validation
  • Severity aware validation
  • Client-side validation
  • Sorted violation messages
  • Dependency injection support for constraint validators
  • Mapped constraint source (e.g. for using DTO's with BV)
  • Support of @Valid

Note that the modules provide a lot of features which aren't listed here. See the documentation for each module to learn about all available features.

For JSF 1.2 projects, this is the only way to get Bean-Validation based validation. JSF 2.0 offers Bean-Validation based validation as part of the standard. However, the additional features mentioned above are not available in standard JSF 2.0.

Note that you need an implementation of Bean Validation for this to work. You can either use Hibernate Validator (4.0 or up) or Apache Bean Validation.

  • No labels