Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

HTML
wiki
wiki

<a href="http://twitter.com/MyFacesTeam"><img src="http://twitbuttons.com/twitbuttons/1512.png" alt="Twitter Button from twitbuttons.com" width="144" align="right" style="border:0px"/></a>

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,...

h1. General Apache MyFaces Extensions Validator (ExtVal) provides an extensible framework to validate user input based on annotations. - [Intro|EXTVAL:Intro|Shows how to add MyFaces ExtVal to your project] - [ExtVal Modules - Overview and Setup|EXTVAL:Module Overview|General information about the available ExtVal modules] - [Building ExtVal|EXTVAL:Building ExtVal|Shows how to checkout and build ExtVal] - [Examples|EXTVAL:Examples|Examples] - [Versions and Migration-Info|EXTVAL:ExtVal Versions|Versions and Migration-Info] - [Requirements|EXTVAL:Requirements|Requirements] - [Compatibility|EXTVAL:Compatibility|Compatibility] 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. h1. Core - [Intro|EXTVAL:Core Overview|Short intro about the core of MyFaces ExtVal] h1. Module Documentation h2. 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. h3. Property Validation - [Intro|EXTVAL:Property Validation Overview|Short intro about the property validation module of MyFaces ExtVal] - [Usage|EXTVAL:Property Validation Usage|Shows how to use the features provided by the property validation module] (coming soon) - [Customizations|EXTVAL:Property Validation Customizations|Config] (coming soon) - [DevDoc|EXTVAL:Property Validation DevDoc|Dev Doc] (coming soon) h3. Bean Validation (JSR 303 adapter) - [Intro|EXTVAL:Bean Validation Overview|Short intro about the Bean Validation module of MyFaces ExtVal] - [Usage|EXTVAL:Bean Validation Usage|Shows how to use the features provided by the Bean Validation module] (coming soon) - [Customizations|EXTVAL:Bean Validation Customizations|Config] (coming soon) - [DevDoc|EXTVAL:Bean Validation DevDoc|Dev Doc] (coming soon) h2. Component Library Support Modules h3. Trinidad Support - [Intro|EXTVAL:Trinidad Component Support Overview|Short intro about the Trinidad support of MyFaces ExtVal] h3. Generic Support - [Intro|EXTVAL:Generic Component Support Overview|Short intro about the generic support for special JSF libs of MyFaces ExtVal] h1. I18N [Internationalization|EXTVAL:Internationalization|Internationalization] (further details coming soon) h1. External Resources See [External Resources|EXTVAL:External] for links to books, sample chapters, blogs, articles, presentations,... {iframe:src=|
iFrame
Wiki Markup
src
http://people.apache.org/~gpetracek/myfaces/counter/extval.html
width1
frameborder0
height1

Your browser does not support iframes

=1|height=1|frameborder=0}Your browser does not support iframes{iframe}