public Controller createTopNavController(UserRequest ureq, WindowControl wControl) {
Controller topnavCtr = null;
// ----------- topnav, optional (e.g. for imprint, logout) ------------------
if (CoreSpringFactory.containsBean("fullWebApp.ContextHelpTopNavControllerCreator")) {
ControllerCreator topnavControllerCreator = (ControllerCreator) CoreSpringFactory.getBean("fullWebApp.ContextHelpTopNavControllerCreator");
topnavCtr = topnavControllerCreator.createController(ureq, wControl);
}
return topnavCtr;
}
public Controller createHeaderController(UserRequest ureq, WindowControl control) {
Controller headerCtr = null;
// ----------- header, optional (e.g. for logo, advertising ) ------------------
if (CoreSpringFactory.containsBean("fullWebApp.ContextHelpHeaderControllerCreator")) {
ControllerCreator headerControllerCreator = (ControllerCreator) CoreSpringFactory.getBean("fullWebApp.ContextHelpHeaderControllerCreator");
headerCtr = headerControllerCreator.createController(ureq, control);
}
return headerCtr;
}
public Controller createFooterController(UserRequest ureq, WindowControl control) {
Controller footerCtr = null;
// ----------- footer, optional (e.g. for copyright, powerd by) ------------------
if (CoreSpringFactory.containsBean("fullWebApp.ContextHelpFooterControllerCreator")) {
ControllerCreator footerCreator = (ControllerCreator) CoreSpringFactory.getBean("fullWebApp.ContextHelpFooterControllerCreator");
footerCtr = footerCreator.createController(ureq, control);
}
return footerCtr;
}
};
}