Package org.olat.core.gui.formelements

Examples of org.olat.core.gui.formelements.SpacerElement


   */
  public void init() {
    addFormElement("heading1", new TitleElement("form.please.enter.old"));
    addFormElement(PASSWORD_OLD, new PasswordElement("form.password.old", 20, 128));
    getPasswordElement(PASSWORD_OLD).setMandatory(true);
    addFormElement("spacer1", new SpacerElement(false, true));
    addFormElement("heading2", new TitleElement("form.please.enter.new"));
    addFormElement(PASSWORD_NEW1, new PasswordElement("form.password.new1", 20, 128));
    getPasswordElement(PASSWORD_NEW1).setMandatory(true);
    addFormElement(PASSWORD_NEW2, new PasswordElement("form.password.new2", 20, 128));
    getPasswordElement(PASSWORD_NEW2).setMandatory(true);
View Full Code Here


    addFormElement("escapedby", escapedByEl);
    carriageReturnEl = new TextElement("form.carriagereturn", car,false, 5, 50);
    carriageReturnEl.setExample(translate("form.carriagereturn.ex"));
    addFormElement("carriagereturn", carriageReturnEl);
   
    addFormElement("spacer1", new SpacerElement(false, true));
   
    fileNameSuffixEl = new TextElement("form.filenamesuffix", suf, false, 5, 50);
    fileNameSuffixEl.setExample(translate("form.filenamesuffix.ex"));
    addFormElement("filenamesuffix", fileNameSuffixEl);
   
View Full Code Here

        .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));
    getTextElement("usr_login").setMandatory(true);
    addFormElement("pwd1", new PasswordElement("user.password", 255));
    getTextElement("pwd1").setMandatory(true);
    addFormElement("pwd2", new PasswordElement("user.password2", 255));
View Full Code Here

TOP

Related Classes of org.olat.core.gui.formelements.SpacerElement

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.