Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-8264

@FacesValidator annotated class not registered as Validator

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 6.0.0.CR1
    • 6.0.0.M4
    • JSF
    • None
    • Workaround Exists
    • Hide

      Specifying validator class in faces-config.xml

      Show
      Specifying validator class in faces-config.xml
    • Hide

      Take a simple web application, annotate a class with @FacesValidator and hit the web page that uses validator.

      Show
      Take a simple web application, annotate a class with @FacesValidator and hit the web page that uses validator.

    Description

      The presence of @FacesValidator [1] annotation on a class should automatically registers the class with the runtime as a Validator. However, AS 6.0.0.M4 fails to do so. Use of @FacesValidator worked in M3.

      [1] http://download-llnw.oracle.com/javaee/6/api/javax/faces/validator/FacesValidator.html

      Attachments

        Issue Links

          Activity

            People

              ssilvert@redhat.com Stan Silvert
              vblagoje Vladimir Blagojevic (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: