if (event == ComponentUtil.VALIDATE_EVENT && dirty) {
dirty = false;
fireEvent(ureq, new KalendarModifiedEvent());
} else if (event == ComponentUtil.VALIDATE_EVENT && weeklyCalendar.isDirty() && modifiedCalenderDirty ) {
KalendarRenderWrapper kalendarRenderWrapper = weeklyCalendar.getKalendarRenderWrapper(modifiedCalendarId);
kalendarRenderWrapper.reloadKalendar();
}else if (source == vcMain) {
if (event.getCommand().equals(CMD_PREVIOUS_WEEK)) {
weeklyCalendar.previousWeek();
} else if (event.getCommand().equals(CMD_NEXT_WEEK)) {
weeklyCalendar.nextWeek();