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

PermissionsURLRenderer.getPermissionsURL(FacesContext, UIComponent) fails during RESOURCE_PHASE of the portlet lifecycle

    Details

      Description

      This issue was first reported here in the forums:
      http://www.liferay.com/community/forums/-/message_boards/view_message/14336534

      The following code is causing a ClassCastException when the JSF lifecycle is running within the RESOURCE_PHASE of the portlet lifecycle (Ajax).

      ExternalContext externalContext = liferayFacesContext.getExternalContext();
      MimeResponse mimeResponse = (MimeResponse) externalContext.getResponse();
      PortletURL portletURL = mimeResponse.createRenderURL();
      

        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: