ContainerNavigationInfo navigationInfo = info.getNavigation();
UserContext userContext = invocation.getUserContext();
HttpServletRequestWrapper realReq = new HttpServletRequestWrapper(invocation.getDispatchedRequest());
//
PortletRequestAttributes attributes = new PortletRequestAttributes(invocation.getSecurityContext(), container, userContext, realReq);
if (invocation.getRequestAttributes() != null)
{
attributes.setAttributeMap(invocation.getRequestAttributes());
}
//
this.contextPath = (String)invocation.getDispatchedRequest().getAttribute("javax.servlet.include.context_path");
this.invocation = invocation;