Package org.olat.registration

Examples of org.olat.registration.DisclaimerController


        cimsc = new ChangeIMSettingsController(ureq, getWindowControl(), (Identity)DBFactory.getInstance().loadObject(ureq.getIdentity()));
        userConfig.addTab(translator.translate("tab.im"), cimsc.getInitialComponent());
      }

      // Show read only display of disclaimer so user sees what he accepted
      disclaimerCtr = new DisclaimerController(ureq, getWindowControl(), true);
      userConfig.addTab(translator.translate("tab.disclaimer"), disclaimerCtr.getInitialComponent());
     
      setInitialComponent(userConfig);
      if (Tracing.isDebugEnabled(PersonalSettingsController.class)){
        Tracing.logDebug("PersonalSettingsController constructed, set velocity page to index.html", PersonalSettingsController.class)
View Full Code Here


        }
        LoginModule.clearFailedLoginAttempts(login);       
        // Check if disclaimer has been accepted
        if (RegistrationManager.getInstance().needsToConfirmDisclaimer(authenticatedIdentity)) {
          // accept disclaimer first
          disclaimerCtr = new DisclaimerController(ureq, getWindowControl());
          listenTo(disclaimerCtr);
          cmc = new CloseableModalController(getWindowControl(), translate("close"), disclaimerCtr.getInitialComponent());
          listenTo(cmc);
          cmc.activate();         
        } else {
View Full Code Here

    regForm = new ShibbolethRegistrationForm("regForm", translator);
   
    regForm.addListener(this);
    mainContainer.put("regForm", regForm);

    dclController = new DisclaimerController(ureq, getWindowControl());
    dclController.addControllerListener(this);
    mainContainer.put("dclComp", dclController.getInitialComponent());

    state = STATE_UNDEFINED;
   
View Full Code Here

        }
        LoginModule.clearFailedLoginAttempts(login);
        // Check if disclaimer has been accepted
        if (RegistrationManager.getInstance().needsToConfirmDisclaimer(authenticatedIdentity)) {
          // accept disclaimer first
          disclaimerCtr = new DisclaimerController(ureq, getWindowControl());
          listenTo(disclaimerCtr);
          cmc = new CloseableModalController(getWindowControl(), translate("close"), disclaimerCtr.getInitialComponent());
          listenTo(cmc);
          cmc.activate();         
        } else {
View Full Code Here

TOP

Related Classes of org.olat.registration.DisclaimerController

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.