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

Develop a workaround for JAVASERVERFACES-4192 in the bridge implementation

    Details

      Description

      The fix for FACES-2945 causes JAVASERVERFACES-4192 to reveal itself in a portlet environment.

      This task involves developing a fix in the bridge that uses a special ResponseWriter that intercepts a call to responseWriter.startElement("script", null) so that it can call ExternalContext.encodeResourceURL(String) for the subsequent call to responseWriter. writeAttribute(resource.getRequestPath(), null).

        Activity

        Hide
        kyle.stiemann Kyle Stiemann added a comment - - edited

        The fix for FACES-2945 is also causing

        #{resource['library:name']}

        EL to return only the request path and not a resource URL (due to JAVASERVERFACES_SPEC_PUBLIC-1337). Also, PrimeFaces HeadRenderer directly encodes the request path for certain CSS and scripts instead of encoding a resource URL, so that must be fixed as well.

        Show
        kyle.stiemann Kyle Stiemann added a comment - - edited The fix for FACES-2945 is also causing #{resource['library:name']} EL to return only the request path and not a resource URL (due to JAVASERVERFACES_SPEC_PUBLIC-1337 ). Also, PrimeFaces HeadRenderer directly encodes the request path for certain CSS and scripts instead of encoding a resource URL, so that must be fixed as well.

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development

                Subcomponents