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

Support ExternalContext.responseSendError(int,String)

    Details

      Description

      The FacesBridge is unable to comply with the requirements specified in the JSF 2.2 JavaDoc because the Portlet 3.0 API does not have an equivalent to HttpServletResponse.sendError(int,String). Instead, this method should call through to the ExternalContext.setResponseStatus(int) method. It is only valid to call this method during the RESOURCE_PHASE of the portlet lifecycle.

      TCK: 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

          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-spec-5.0.0