Examples of LanguageChooserController


Examples of org.olat.core.commons.chiefcontrollers.LanguageChooserController

    super(ureq, wControl);

    topNavVC = createVelocityContainer("dmztopnav");

    //choosing language
    languageChooserC = new LanguageChooserController(getWindowControl(), ureq);
    //DOKU:pb:2008-01 listenTo(languageChooserC); not necessary as LanguageChooser sends a MultiUserEvent
    //which is catched by the BaseFullWebappController. This one is then
    //responsible to recreate the GUI with the new Locale
    //
    topNavVC.put("languageChooser", languageChooserC.getInitialComponent());
View Full Code Here

Examples of org.olat.registration.LanguageChooserController

    ureq.getUserSession().putEntry(LocaleNegotiator.NEGOTIATED_LOCALE, locale);
   
    translator = new PackageTranslator(PACKAGE, ureq.getLocale());
    mainContainer = new VelocityContainer("main", VELOCITY_ROOT + "/langchooser.html", translator, this);
 
    languageChooserController = new LanguageChooserController(ureq, wControl, false);
    languageChooserController.addControllerListener(this);
    mainContainer.put("select.language", languageChooserController.getInitialComponent());
    mainContainer.contextPut("languageCode", locale.getLanguage());

    regForm = new ShibbolethRegistrationForm("regForm", translator);
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.