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

Support ExternalContext.setResponseHeader(String,String)

    Details

      Description

      The FacesBridge must follow the requirements in the JSF 2.2 JavaDoc. However, rather than call HttpServletResponse.setHeader(String,String) the FacesBridge must call PortletResponse.setProperty(String,String). It is only valid to call this method during the HEADER_PHASE and RESOURCE_PHASE of the portlet lifecycle.

      TCK: In the HEADER_PHASE call ExternalContext.setResponseHeader("headerPhase", "true") and then verify that the header is present in the page via Javascript. It is not possible to test during the RESOURCE_PHASE since the jsf.js client-side library is in control of the XHR dispatched via f:ajax.

        Attachments

          Issue Links

            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:

                  Packages

                  Version Package
                  facesbridge-tck-5.0.0
                  facesbridge-spec-5.0.0