Apache MyFaces Extensions Validator

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

Main features of ExtVal

  • Platform for JSF based validation
  • Cross-component validation (including cross-entity validation)
  • JPA Support (validation based on JPA annotations)
  • Extensible (e.g. custom annotations, error messages and much more!)
  • Support for client-side validation
  • Validation exception interception
  • Zero configuration (just optional)
  • Bean-Validation (JSR 303) Support (3rd release and higher)

You would like to start with ExtVal?

Please scroll down to the current documentation or read the free sample chapter.

Feature comparisons

Blogs

External Projects

External Maven Repositories

Books

Sample Chapters

Articles

Presentations

Framework Requirements

  • JSF (1.x/2.x)
  • Commons Logging (ExtVal r1-r3)

Modules of ExtVal

  • core (required and the only module which depends on the JSF version.)
  • validation-modules (optional)
    • property-validation (available)
    • bean-validation (JSR 303)
  • component-support (optional)
    • trinidad-support (required when using MyFaces-Trinidad)
    • generic-support (only for component libs with special requirements)
  • examples (optional)
  • external extensions and examples (optional)

External ExtVal Add-ons

Details are available at http://os890.blogspot.com/search/label/myfaces-extval-add-on

External ExtVal Add-ons for the BV Integration

Work in progress

  • ExtVal-Core for JSF 2.0
  • Stand-alone generic client-side validation
  • Validation module: Dynamic Property Validation
  • Additional features for RichFaces and ICEfaces
  • [Maybe your idea/feature request will be here soon - just send an E-Mail or open a feature request in jira]

Possible ExtVal Features/Add-ons

A collection of add-on ideas which are possible (most of them are quite easy).

Please vote (via E-Mail), if you need one of it.

(It's not that difficult to impl. it on your own, so maybe you implement it and donate it.)

  • Initializers for validation strategies (as addition to the initValidation method)
  • Tag for declarative bypass (there is already an annotation based solution)
  • [Maybe your idea/feature request will be here soon - just send an E-Mail or open a feature request in jira]

Examples

Documentation

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: Conventions (customizable if needed), ExtVal Java API, configuration via web.xml

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.

Tested Compatibility

These components and joining client-side validation based on constraints require a component-support module.

If you are interested in such a support please contact us.)

  • Integration of other Validation Frameworks
    • Bean-Validation (JSR 303)
      • Hibernate Validator v4
      • Other implementations of JSR 303
  • Other Frameworks
    • Seam
    • Ajax4jsf (requires the generic component support module)
  • View technologies
  • No labels