myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
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:

  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 [
- they are based on the hello world application of myfaces
+ they are based on the hello world application of myfaces.[[BR]]
  example 1:

View raw message