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

task-jsf quickstart: JSF 2.3 features does not work on JBoss EAP 7.3

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 24.0.0.Final
    • 23.0.2.Final
    • Quickstarts
    • None

    Description

      In the example task-jsf is a CDI Producer used to generate the FacesContext Injection Point from the static method reference.
      @Produces public FacesContext getFacesContext()

      { return FacesContext.getCurrentInstance(); }

      The JSF docs say, the injection from FacesContext and ExternalContext should work out of the box. This does not work in the JBoss EAP 7.3

      In my opinion it would be better and easier to understand if a concreate configuration class is used.

      In the bug reported for JSF(see here) such a class is suggested.

      @FacesConfig(version = Version.JSF_2_3) @ApplicationScoped public class Config {}

      With this class the example works as designed and all JSF 2.3 features as well.

      Attachments

        Issue Links

          Activity

            People

              emartins@redhat.com Eduardo Martins
              emartins@redhat.com Eduardo Martins
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: