Twitter Button from twitbuttons.com

General

Apache MyFaces Extensions Validator (ExtVal) provides an extensible framework to validate user input based on annotations.

It's important to mention that ExtVal provides several approaches to extend, customize,... the default behavior.
We recommend to choose one approach you prefer and use it consistently!
Basically there are 3 available approaches to override ExtVal's defaults:

  • Conventions: just create the artifacts or resource bundle's, give them a name according to the convention, and place them in the right package. ExtVal will find your customizations and use them. As an alternative it's possible to use one of the external config-add-ons or the new type-safe config approach.
  • ExtVal Java API: if you'd rather use your own naming scheme and package structure, use ExtVal's Java API to make ExtVal aware of your customizations.
  • Configuration via web.xml: use web.xml settings as another alternative way to let ExtVal know about your customizations.

So choose the approach you prefer! ExtVal tries to provide always a very simple approach for your custom implementations. If you can't find a simple one, just ask for support.

Core

Module Documentation

To get started, please read the module overview and setup first.

Validation Modules

The validation modules provide implementations for using different types of metadata immediately. In many cases one validation module might be enough for a project, but the modules can also be combined without problems.

Property Validation

Bean Validation (JSR 303 adapter)

Component Library Support Modules

Other Topics

ExtVal as validation platform

I18N

Internationalization (further details coming soon)

Constraint Aspects

Client-side validation

  • Intro (further details coming soon)

Concept Overview

External Resources

See External Resources for links to books, sample chapters, blogs, articles, presentations,...

  • No labels