Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-2501

f:validateBean should only use the validationGroups from the stack, if its validationGroups property is null or an empty string

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0-alpha-2
    • 2.0.0-beta
    • JSR-314
    • None

    Description

      scenario:

      <f:validateBean validationGroups="group1">
      <h:inputText>
      <f:validateBean />
      </h:inputText>
      <h:inputText>
      <f:validateBean validationGroups="group2" />
      </h:inputText>
      </f:validateBean>

      In this scenario the first h:inputText gets a bean validator with validationGroup group1 and the second h:inputText should get a bean validator with the validationGroup group2. Currently the second h:inputText gets a bean validator with both validationGroups (group1,group2).

      Attachments

        Activity

          People

            jakobkorherr Jakob Korherr
            jakobkorherr Jakob Korherr
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: