Package org.olat.core.gui.formelements

Examples of org.olat.core.gui.formelements.StaticSingleSelectionElement.select()


    }
    // second the user language
    Map<String, String> languages = I18nManager.getInstance().getEnabledLanguagesTranslated();
    StaticSingleSelectionElement singleSelection = new StaticSingleSelectionElement("user.language", StringHelper
        .getMapKeysAsStringArray(languages), StringHelper.getMapValuesAsStringArray(languages));
    singleSelection.select(languageKey, true);
    addFormElement("lang", singleSelection);

    // third the login name and password
    addFormElement("space_username", new SpacerElement(true, true));
    addFormElement("usr_login", new TextElement("user.login", "", 128));
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.