myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manuel Gamerdinger (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Created] (EXTVAL-148) Support of BV GroupSequences in @BeanValidation
Date Tue, 06 Nov 2012 15:54:11 GMT
Manuel Gamerdinger created EXTVAL-148:
-----------------------------------------

             Summary: Support of BV GroupSequences in @BeanValidation
                 Key: EXTVAL-148
                 URL: https://issues.apache.org/jira/browse/EXTVAL-148
             Project: MyFaces Extensions Validator
          Issue Type: Improvement
          Components: Bean Validation
    Affects Versions: 2.0.5
         Environment: WAS 8
            Reporter: Manuel Gamerdinger
            Priority: Minor


Currently the @BeanValidation tag only supports definition of explicit groups in useGroups.
There is no possibility to declare a GroupSequence. Therefore the @BeanValidation annotation
can't be used as a total replacement of the JSF f.validateBean tag.

Example:

Declaration of the sequence:
@GroupSequence({Default.class, IUiGroupStage2.class})
public interface IUiGroupSequence {

Usage in f.validateBean works fine:
<f:validateBean validationGroups="xxx.IGroupSequence">

Declaring the GroupSequence in ExtVal does not work:
@BeanValidation(useGroups=IUiGroupSequence.class)





--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message