public void setModuleManager(ModuleManager moduleManager) {
this.moduleManager = moduleManager;
}
public WidgetManager getWidgetManager(HttpSession session) {
WidgetManager componentManager = (WidgetManager) session.getAttribute("zero_componentManager");
if (componentManager == null) {
componentManager = new WidgetManager();
session.setAttribute("zero_componentManager", componentManager);
}
return componentManager;
}