Uploaded image for project: 'PUBLIC - Liferay Faces'
  1. PUBLIC - Liferay Faces
  2. FACES-1278

Failure in TCK TestPage203: JSF_ELTest due to Mojarra 2.x returning unexpected FacesContext instance

    Details

      Description

      The TCK JSF_ELTest checks for EL resolution of what are called "implicit" objects that can be referenced via EL expressions. One such expression that the TCK checks for is #

      {facesContext}

      which is actually an implicit object handled by the JSF implementation (Mojarra/MyFaces). The problem is that the following Mojarra 2.x method returns an instance of com.sun.faces.context.FacesContextImpl but the JSR 329 TCK (which is JSF/Mojarra 1.2 based) simply expects FacesContext.getCurrentInstance():

      com.sun.faces.el.ImplicitObjectELResolver.getValue(ELContext context, Object base, Object property)

      So this task involves having the bridge's FacesContextFactory implementation use the TCK detection feature of FACES-1270 to provide the value that the TCK expects.

        Attachments

          Activity

            People

            • Assignee:
              neil.griffin Neil Griffin
              Reporter:
              neil.griffin Neil Griffin
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: