request.setAttribute(PortalReservedParameters.FRAGMENT_ATTRIBUTE, fragment);
request.setAttribute(PortalReservedParameters.CONTENT_DISPATCHER_ATTRIBUTE, dispatcher);
request.setAttribute(PortalReservedParameters.REQUEST_CONTEXT_ATTRIBUTE, request);
request.setAttribute(PortalReservedParameters.FRAGMENT_ATTRIBUTE, fragment);
PortletContent portletContent = dispatcher.getPortletContent(fragment);
fragment.setPortletContent(portletContent);
return new RenderingJob(container, portletContent, fragment, request, response, requestContext, portletWindow);
}