if (ACTIVITY_MENUSELECT_OVERVIEW.equals(cmd)) {
// root node clicked display overview
mainPanel.setContent(main);
} else if (ACTIVITY_MENUSELECT_FORUM.equals(cmd)) {
addLoggingResourceable(LoggingResourceable.wrap(ORES_TOOLFORUM, OlatResourceableType.forum));
SubscriptionContext sc = new SubscriptionContext(businessGroup, INITVIEW_TOOLFORUM);
WindowControl bwControl = getWindowControl();
// calculate the new businesscontext for the forum clicked
ContextEntry ce = BusinessControlFactory.getInstance().createContextEntry(ORES_TOOLFORUM);
bwControl = BusinessControlFactory.getInstance().createBusinessWindowControl(ce, bwControl);
collabToolCtr = collabTools.createForumController(ureq, bwControl, isAdmin, ureq.getUserSession().getRoles().isGuestOnly(), sc);
listenTo(collabToolCtr);
mainPanel.setContent(collabToolCtr.getInitialComponent());
} else if (ACTIVITY_MENUSELECT_CHAT.equals(cmd)) {
collabToolCtr = collabTools.createChatController(ureq, getWindowControl(), this.businessGroup.getName());
mainPanel.setContent(collabToolCtr.getInitialComponent());
} else if (ACTIVITY_MENUSELECT_CALENDAR.equals(cmd)) {
addLoggingResourceable(LoggingResourceable.wrap(ORES_TOOLCAL, OlatResourceableType.calendar));
WindowControl bwControl = getWindowControl();
// calculate the new businesscontext for the forum clicked
ContextEntry ce = BusinessControlFactory.getInstance().createContextEntry(ORES_TOOLCAL);
bwControl = BusinessControlFactory.getInstance().createBusinessWindowControl(ce, bwControl);
collabToolCtr = collabTools.createCalendarController(ureq, bwControl, this.businessGroup, isAdmin);
listenTo(collabToolCtr);
mainPanel.setContent(collabToolCtr.getInitialComponent());
} else if (ACTIVITY_MENUSELECT_INFORMATION.equals(cmd)) {
collabToolCtr = collabTools.createNewsController(ureq, getWindowControl());
listenTo(collabToolCtr);
mainPanel.setContent(collabToolCtr.getInitialComponent());
} else if (ACTIVITY_MENUSELECT_FOLDER.equals(cmd)) {
addLoggingResourceable(LoggingResourceable.wrap(ORES_TOOLFOLDER, OlatResourceableType.sharedFolder));
SubscriptionContext sc = new SubscriptionContext(businessGroup, INITVIEW_TOOLFOLDER);
WindowControl bwControl = getWindowControl();
// calculate the new businesscontext for the forum clicked
ContextEntry ce = BusinessControlFactory.getInstance().createContextEntry(ORES_TOOLFOLDER);
bwControl = BusinessControlFactory.getInstance().createBusinessWindowControl(ce, bwControl);