myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Myfaces Wiki] Update of "Extensions/Validator/JSR303" by GerhardPetracek
Date Wed, 10 Mar 2010 11:52:34 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.

The "Extensions/Validator/JSR303" page has been changed by GerhardPetracek.
http://wiki.apache.org/myfaces/Extensions/Validator/JSR303?action=diff&rev1=1&rev2=2

--------------------------------------------------

  = Bean-Validation with MyFaces ExtVal =
  
- [This page will be available soon!]
+ == Setup ==
  
+ As usual it's quite easy to use BV with MyFaces ExtVal.<<BR>>
+ Use the Validation-Module for BV (myfaces-extval-bean-validation-x.x.3+ e.g.: myfaces-extval-bean-validation-1.2.3.jar)
instead '''or in addition''' to the property-validation module of ExtVal. BV is a different
story, however, you can use both validation modules in parallel. Also the component support
modules (or the optional generic support module to enable e.g. RichFaces support) are completely
compatible and can be used as usual.
+ 
+ Besides the core of ExtVal and the BV integration module, you just have to add BV itself
(e.g. Hibernate Validator v4).
+ After adding the required jar libs to the project you can start using BV constraints immediately
'''without''' additional configuration.
+ 
+ '''So basically that's it!'''
+ 
+ == Available Examples ==
+ 
+ Besides the examples which are shipped with ExtVal r3+ itself there are some examples out
there.<<BR>>
+ E.g. there is a [[http://code.google.com/p/sandbox890/source/browse/#svn/trunk/examples/primefaces_extval/example_01|sample
application]] which shows JSF 1.2 + PrimeFaces + MyFaces ExtVal in action.
+ 
+ Also [[http://code.google.com/p/os890/source/browse/#svn/trunk/java/web/jsf/extval.bv|os890/bv]]
will provide some additional examples.
+ 
+ == Advanced Features ==
+ 
+ Compared to the standard integration of BV in JSF 2.0+ MyFaces ExtVal offers additional
features.
+ 
+ For example
+  * Typesafe group validation via annotations (instead of the tag f:validateBean)
+  * Severity aware validation (+ nonblocking warn mode)
+  * Model validation
+  * Component initialization
+  * Trinidad based client-side validation
+  * Dependency injection
+  * Integration in JSF 1.x (and 2.x)
+  * Mapped constraint source (ExtVal r4+)
+  * ...
+ 

Mime
View raw message