}
// need to save req attribs so that lifecycle.render() can use them later
protected void saveRequestAttributes(ActionRequest request)
{
PortletSession session = request.getPortletSession();
SavedRequestAttributes reqAttribs = null;
synchronized(session)
{
reqAttribs = (SavedRequestAttributes)session.getAttribute(SAVED_REQUEST_ATTRIBUTES);
if (reqAttribs == null)
{
reqAttribs = new SavedRequestAttributes();
session.setAttribute(SAVED_REQUEST_ATTRIBUTES, reqAttribs);
}
}
reqAttribs.saveRequestAttributes(request);
}