infopanelVC.contextPut("iscourse", new Boolean(handler instanceof CourseHandler));
main.contextPut("iscourse", new Boolean(handler instanceof CourseHandler));
//brasato:: review why such a type check was necessary
if (handler instanceof CourseHandler) {
infopanelVC
.put("CourseInfoForm", new DisplayCourseInfoForm("CourseInfoForm", getTranslator(), CourseFactory.loadCourse(repositoryEntry.getOlatResource())));
}
Component comp = handler.getDetailsComponent(repositoryEntry.getOlatResource(), ureq);
if (comp != null) { // push handler specific details view
infopanelVC.contextPut("hasHandlerDetails", Boolean.valueOf("true"));
infopanelVC.put("handlerDetails", comp);