Uploaded image for project: 'MyFaces Extensions Validator'
  1. MyFaces Extensions Validator
  2. EXTVAL-148

Support of BV GroupSequences in @BeanValidation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.5
    • 2.0.7
    • Bean Validation
    • None
    • WAS 8

    Description

      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)

      Attachments

        Activity

          People

            gpetracek Gerhard Petracek
            dasmanu Manuel Gamerdinger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: