Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-16565

[GSS](7.2.z) WFLY-11864 - only one JSF Validator is invoked when defined via annotation @FacesValidator

XMLWordPrintable

      Only one JSF Validator is invoked when defined via annotation @FacesValidator

      @FacesValidator(value = "validator.CustomValidator1", managed = true)
      public class CustomValidator1 implements Validator<String> {
         ...
      }
      @FacesValidator(value = "validator.CustomValidator2", managed = true)
      public class CustomValidator2 implements Validator<String> {
         ...
      }
      
                      <h:inputText id="input-value" value="#{customBean.inputValue}">
                        <f:validator validatorId="validator.CustomValidator2" />
                        <f:validator validatorId="validator.CustomValidator1" />
                      </h:inputText>
      

        1. jsf-annotations.ear
          11 kB
          Brad Maxwell
        2. jsf-faces-config-xml.ear
          11 kB
          Brad Maxwell

              chaowan@redhat.com Chao Wang
              rhn-support-bmaxwell Brad Maxwell
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: