Details

    • Affects:
      Documentation (Ref Guide, User Guide, etc.), Release Notes

      Description

      JSF exposes facesContext as an implicit EL variable that references the current FacesContext. However, no such implicit EL variable is available for ExternalContext. There is useful information in the ExternalContext that is often needed in the UI, particular during development. Thus, we should expose this implicit variable by adding @Named to the producer for ExternalContext.

      @Named
      @Produces
      @RequestScoped
      public ExternalContext getExternalContext(final FacesContext context)

      { return context.getExternalContext(); }

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                bleathem Brian Leathem
                Reporter:
                dan.j.allen Dan Allen
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: