requestContext.init(window.getPortletInstance().getConfig(), this.jetspeedContext, request, response); window.getPortletResponseContext().init(request, response);
PortletConfig portletConfig = portletInstance.getConfig(); window.getPortletRequestContext().init(portletConfig, getServletContext(), request, response); window.getPortletResponseContext().init(request, response);