Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-14238

FaceletsResourceResolver annotation is not taken into account

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 23.0.0.Beta1, 23.0.0.Final
    • 21.0.1.Final
    • JSF
    • None
    • Hide
      • Deploy the attached test-servlet30-faceletResourceResolver2.war.
      • Got to the default app home page: http://localhost:8080/test-servlet30-faceletResourceResolver2/
        |AnnotationProvider: org.jboss.as.jsf.injection.JandexAnnotationProvider |
        |message: |
        
      • The message is empty and it should be com.sun.faces.test.servlet30.faceletresourceresolver2.MyResourceResolver because it is injected by the custom resource resolver.
      Show
      Deploy the attached test-servlet30-faceletResourceResolver2.war . Got to the default app home page: http://localhost:8080/test-servlet30-faceletResourceResolver2/ |AnnotationProvider: org.jboss.as.jsf.injection.JandexAnnotationProvider | |message: | The message is empty and it should be com.sun.faces.test.servlet30.faceletresourceresolver2.MyResourceResolver because it is injected by the custom resource resolver.
    • Undefined
    • ---
    • ---

      The annotation @FaceletsResourceResolver is just not considered in a JSF application. The reason is that it is not taken into account here.

      There are at least two tests in the JSF test-suite that check this annotation, faceletResourceResolver2 is one of the tests that fails.

              rhn-support-rmartinc Ricardo Martin Camarero
              rhn-support-rmartinc Ricardo Martin Camarero
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: