bean.setPortletMode(new PortletMode(mode));
}
sb = new StringBuffer(portletId).append("_").append("state");
String state = request.getParameter(sb.toString());
if (null != state) {
bean.setWindowState(new WindowState(state));
}
}
Portal.doRender(request, response, bean, portlet);
Portal.doRefresh(request, response, bean, portlet);
portletsMap.put(bean.getPortletName(), bean);