Package org.olat.user

Examples of org.olat.user.ProfileAndHomePageEditController


    Boolean canEditAllFields = (Boolean) configuration.get(BaseSecurityModule.CONFIG_USERMANAGER_CAN_EDIT_ALL_PROFILE_FIELDS);
    if (ManagerFactory.getManager().isIdentityPermittedOnResourceable(identity, Constants.PERMISSION_HASROLE, Constants.ORESOURCE_ADMIN)) {
      canEditAllFields = Boolean.TRUE;
    }

    userProfileCtr = new ProfileAndHomePageEditController(ureq, getWindowControl(), identity, canEditAllFields.booleanValue());
    listenTo(userProfileCtr);
    userTabP.addTab(translate(NLS_EDIT_UPROFILE), userProfileCtr.getInitialComponent());
   
    prefsCtr = new ChangePrefsController(ureq, getWindowControl(), identity);
    userTabP.addTab(translate(NLS_EDIT_UPREFS), prefsCtr.getInitialComponent());
View Full Code Here

TOP

Related Classes of org.olat.user.ProfileAndHomePageEditController

Copyright © 2018 www.massapicom. 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.