userSession.getSingleUserEventCenter().registerFor(this, ureq.getIdentity(), OresHelper.lookupType(CalendarManager.class));
CoordinatorManager.getCoordinator().getEventBus().registerFor(this, ureq.getIdentity(), OresHelper.lookupType(CalendarManager.class));
List<KalendarRenderWrapper> calendars = getListOfCalendarWrappers(ureq, windowControl);
List importedCalendars = getListOfImportedCalendarWrappers(ureq);
calendarController = new WeeklyCalendarController(ureq, windowControl, calendars, importedCalendars, WeeklyCalendarController.CALLER_HOME);
calendarController.addControllerListener(this);
setInitialComponent(calendarController.getInitialComponent());
}