Examples of HomePageDisplayController


Examples of org.olat.user.HomePageDisplayController

    Translator babel = UserManager.getInstance().getPropertyHandlerTranslator(userTrans);
    if (homePageDisplayController != null) {
      removeAsListenerAndDispose(homePageDisplayController);
    }
    HomePageConfig homePageConfig = HomePageConfigManagerImpl.getInstance().loadConfigFor(currentIdentity.getName());
    homePageDisplayController = new HomePageDisplayController(ureq, getWindowControl(), homePageConfig);
    listenTo(homePageDisplayController);
    userDetailsVC.put("userdetailsform", homePageDisplayController.getInitialComponent());
    // 2. expose the owner groups of the identity
    if (flags.isEnabled(BGConfigFlags.GROUP_OWNERS)) {
      List ownerGroups = groupManager.findBusinessGroupsOwnedBy(bgContext.getGroupType(), this.currentIdentity, bgContext);
View Full Code Here

Examples of org.olat.user.HomePageDisplayController

        HomePageConfig homePageConfig = HomePageConfigManagerImpl.getInstance().loadConfigFor(
            identity.getName()
        );

        // create the controller with this configuration
        homepageC = new HomePageDisplayController(ureq, getWindowControl(), homePageConfig);
        listenTo(homepageC);
        // insert the homepage in the area below the button (for layout, see the
        // index.html file in the "content" subfolder
        homepagePanel.setContent(homepageC.getInitialComponent());
      } // else ignore other events (e.g. Event.CANCELLED_EVENT)
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.