//Set up request attributes (user info, portal session, etc...)
setupRequestAttributes(wrappedRequest, uid);
//Hide the request parameters if this portlet isn't targeted
wrappedRequest = new PortletParameterRequestWrapper(wrappedRequest);
//Since the portlet is rendering through IDirectResponse change the window state to "exclusive"
DynamicInformationProvider dip = InformationProviderAccess.getDynamicProvider(pcs.getHttpServletRequest());
PortletActionProvider pap = dip.getPortletActionProvider(portletWindow);