Differences between revisions 11 and 12
Revision 11 as of 2009-07-30 19:39:36
Size: 1167
Comment:
Revision 12 as of 2009-09-20 23:01:08
Size: 1163
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
 * Download the required* ExtVal jar-files or checkout the Source Code and build it. ([http://people.apache.org/~gpetracek/myfaces/extval/ details])
 * Add these jar-files to your classpath ([http://wiki.apache.org/myfaces/Extensions/Validator/Build details])
 * Use the annotations ([http://jsfcentral.com/articles/myfaces_extval_2.html details])
 * Download the required* ExtVal jar-files or checkout the Source Code and build it. ([[http://people.apache.org/~gpetracek/myfaces/extval/|details]])
 * Add these jar-files to your classpath ([[http://wiki.apache.org/myfaces/Extensions/Validator/Build|details]])
 * Use the annotations ([[http://jsfcentral.com/articles/myfaces_extval_2.html|details]])
Line 11: Line 11:
|| [wiki:/Hello_World Hello World] || Just a short example.||
|| [wiki:/Custom_Messages Custom Messages] || Illustrates how to customize messages.||
|| [wiki:/JPA_Support JPA validation support] || Illustrates how to use JPA based validation. ||
|| [wiki:/Cross_Validation Cross Validation] || Illustrates how to use cross-validation.||
|| [[/Hello_World|Hello World]] || Just a short example.||
|| [[/Custom_Messages|Custom Messages]] || Illustrates how to customize messages.||
|| [[/JPA_Support|JPA validation support]] || Illustrates how to use JPA based validation. ||
|| [[/Cross_Validation|Cross Validation]] || Illustrates how to use cross-validation.||
Line 16: Line 16:
For more details please have a look e.g. at the [http://wiki.apache.org/myfaces/Extensions/Validator blog and article-section]. For more details please have a look e.g. at the [[http://wiki.apache.org/myfaces/Extensions/Validator|blog and article-section]].

First steps with Apache MyFaces Extensions Validator

Required steps:

  • Download the required* ExtVal jar-files or checkout the Source Code and build it. (details)

  • Add these jar-files to your classpath (details)

  • Use the annotations (details)

That's it!

Examples

Hello World

Just a short example.

Custom Messages

Illustrates how to customize messages.

JPA validation support

Illustrates how to use JPA based validation.

Cross Validation

Illustrates how to use cross-validation.

For more details please have a look e.g. at the blog and article-section.

* Currently you need at least:

  • myfaces-extval-core-*.jar
  • commons logging
  • Optional: The validation module you would like to use (e.g.: myfaces-extval-property-validation-*.jar or your own implementation)

Extensions/Validator/Getting_Started (last edited 2009-09-20 23:01:08 by localhost)