Esempio n. 1
0
 @Override
 public Controller createHeaderController(final UserRequest ureq, final WindowControl wControl) {
   Controller headerCtr = null;
   // ----------- header, optional (e.g. for logo, advertising ) ------------------
   if (CoreSpringFactory.containsBean("fullWebApp.HeaderControllerCreator")) {
     final ControllerCreator headerControllerCreator =
         (ControllerCreator) CoreSpringFactory.getBean("fullWebApp.HeaderControllerCreator");
     headerCtr = headerControllerCreator.createController(ureq, wControl);
   }
   return headerCtr;
 }
Esempio n. 2
0
 @Override
 public Controller createTopNavController(final UserRequest ureq, final WindowControl wControl) {
   Controller topnavCtr = null;
   // ----------- topnav, optional (e.g. for imprint, logout) ------------------
   if (CoreSpringFactory.containsBean("fullWebApp.TopNavControllerCreator")) {
     final ControllerCreator topnavControllerCreator =
         (ControllerCreator) CoreSpringFactory.getBean("fullWebApp.TopNavControllerCreator");
     topnavCtr = topnavControllerCreator.createController(ureq, wControl);
   }
   return topnavCtr;
 }
Esempio n. 3
0
 @Override
 public Controller createFooterController(final UserRequest ureq, final WindowControl wControl) {
   Controller footerCtr = null;
   // ----------- footer, optional (e.g. for copyright, powerd by) ------------------
   if (CoreSpringFactory.containsBean("fullWebApp.FooterControllerCreator")) {
     final ControllerCreator footerCreator =
         (ControllerCreator) CoreSpringFactory.getBean("fullWebApp.FooterControllerCreator");
     footerCtr = footerCreator.createController(ureq, wControl);
   }
   return footerCtr;
 }