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/DevDoc" by GerhardPetracek
Date Thu, 09 Apr 2009 10:25:04 GMT
Dear Wiki user,

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

The following page has been changed by GerhardPetracek:
http://wiki.apache.org/myfaces/Extensions/Validator/DevDoc

------------------------------------------------------------------------------
  per default every page is validated with the default group (javax.validation.groups.Default).
so you don't really need example 1 and 2.[[BR]]
  there will be a context-param to deactivate this default behavior. in such cases example
1 and 2 make sense again.
  
+ that means:[[BR]]
+ normally you don't need to use @BeanValidation explicitly. jsr 303 constraints have the
default group (javax.validation.groups.Default) per default :). so the default group (javax.validation.groups.Default)
is validated implicitly (it's possible to deactivate this implicit validation). just if you
would like to add (or restrict) groups for all or for a specific view-id you have to use @BeanValidation.
+ 
  ==== usage ====
  the following examples are available [http://svn.apache.org/repos/asf/myfaces/extensions/validator/branches/beanval_integration/trunk/examples/hello_world/
here][[BR]]
- they are based on the hello world application of myfaces
+ they are based on the hello world application of myfaces.[[BR]]
  
  example 1:
  {{{

Mime
View raw message