protected PortletWindow getPortletWindow() { return requestContext.getPortletWindow(); }
@Override public String getContextPath() { if (contextPath == null) { contextPath = requestContext.getPortletWindow().getPortletDefinition().getApplication().getContextPath(); } return contextPath; }
this.windowId = requestContext.getPortletWindow().getId().getStringId();
public HttpServletPortletRequestWrapper(HttpServletRequest hreq, HttpSession session, PortletRequest preq) { super(hreq); this.preq = preq; this.session = session; reqctx = (PortletRequestContext) preq.getAttribute(PortletInvokerService.REQUEST_CONTEXT); this.mapper = reqctx.getContainer().getContainerServices().getNamespaceMapper(); this.winId = reqctx.getPortletWindow().getId(); this.phase = (String) preq.getAttribute(PortletRequest.LIFECYCLE_PHASE); }
protected JetspeedPortletInvoker getInvoker(PortletRequestContext requestContext) { JetspeedPortletInvoker invoker; PortletDefinition portletDefinition = (PortletDefinition)requestContext.getPortletWindow().getPortletDefinition(); if (portletDefinition.getApplication().getApplicationType() == PortletApplication.LOCAL) { invoker = new LocalPortletInvoker(portalContext, requestResponseUnwrapper); } else { invoker = new ServletPortletInvoker(requestResponseUnwrapper, servletMappingName); } invoker.activate(portletFactory, portletDefinition, servletConfig); return invoker; } }
PortletWindow window = requestContext.getPortletWindow();
throws PortletException, IOException PortletWindowImpl window = (PortletWindowImpl)requestContext.getPortletWindow(); PortletDefinition portletDefinition = window.getPortletDefinition(); PortletApplication app = portletDefinition.getApplication();
PortletWindowImpl window = (PortletWindowImpl)requestContext.getPortletWindow();
final PortletRequestContext requestContext, boolean render) { final HttpServletRequest containerRequest = requestContext.getContainerRequest(); final PortletWindow plutoPortletWindow = requestContext.getPortletWindow(); final IPortletWindow portletWindow = portletWindowRegistry.convertPortletWindow(containerRequest, plutoPortletWindow);
final PortletRequestContext requestContext, boolean render) { final HttpServletRequest containerRequest = requestContext.getContainerRequest(); final PortletWindow plutoPortletWindow = requestContext.getPortletWindow(); final IPortletWindow portletWindow = portletWindowRegistry.convertPortletWindow(containerRequest, plutoPortletWindow);
String portletWindowId = requestContext.getPortletWindow().getId().getStringId(); session = ServletPortletSessionProxy.createProxy(requestContext.getServletRequest(), portletWindowId);