((StateAwareResponse) prc.getPortletResponse()).setPortletMode(PortletMode.VIEW); } catch (Exception e) { if (logger.isDebugEnabled()) {
pathInfo = urlProvider.buildHstURLPath(containerURL); if (actionWindowReferenceNamespace != null) { PortletURL url = ((MimeResponse)prc.getPortletResponse()).createActionURL(); url.setParameter(HstContainerPortlet.HST_PATH_PARAM_NAME, pathInfo); urlString = url.toString(); } else if (resourceWindowReferenceNamespace != null) { if (urlProvider.isPortletResourceURLEnabled()) { ResourceURL url = ((MimeResponse)prc.getPortletResponse()).createResourceURL(); url.setResourceID(pathInfo); urlString = url.toString();
PortletResponse response = prc.getPortletResponse();