Examples of PasswordElement


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

        renderStaticTextElement(ste, sb);
      } else if (fe instanceof StaticHTMLTextElement) {
        StaticHTMLTextElement ste = (StaticHTMLTextElement) fe;
        renderStaticHTMLTextElement(ste, sb);
      } else if (fe instanceof PasswordElement) {
        PasswordElement pe = (PasswordElement) fe;
        renderPasswordElement(f, pe, sb);
      } else if (fe instanceof TextElement) {
        renderTextElement(f, (TextElement) fe, sb, ubu);
      } else if (fe instanceof CheckBoxElement) {
        CheckBoxElement cbe = (CheckBoxElement) fe;
View Full Code Here

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

    tuser = new TextAreaElement("bulkuserreplay.tt", 10, 60, null);
    addFormElement("bulkuserreplay.tt", tuser);
    isOn = new CheckBoxElement("bulkuserreplay.chkbx.onoff", true);
    addFormElement("isOn", isOn);
   
    addOlatPasswordAuthentication = new PasswordElement("bulkuserreplay.addOlatPasswordAuthentication", 255);
    addFormElement("addOlatPasswordAuthentication", addOlatPasswordAuthentication);
   
    //
    addSubmitKey("save", "save");
  }
View Full Code Here

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

  /**
   * PreferencesForm definition
   */
  public void init() {
    addFormElement("heading1", new TitleElement("form.password.enter.new"));
    addFormElement(PASSWORD_NEW1, new PasswordElement("form.password.new1", 255));
    getPasswordElement(PASSWORD_NEW1).setMandatory(true);
    addFormElement(PASSWORD_NEW2, new PasswordElement("form.password.new2", 255));
    getPasswordElement(PASSWORD_NEW2).setMandatory(true);
    addSubmitKey("submit.speichernUndpwchange","submit.speichernUndpwchange");
    setCancelKey("submit.cancel");
  }
View Full Code Here

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

  public void init() {
    login = new TextElement("lf.login", "", false, 128);
    login.setSize(20);
    addFormElement("lf_login", login);
   
    pass = new PasswordElement("lf.pass", 20, 50);
    addFormElement("lf_pass", pass);
   
    addSubmitKey("login.button", "");
  }
View Full Code Here

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

    selectables.setHTMLIsAllowed(true);
    addFormElement("selectables",  selectables);
    addFormElement("s3", new SpacerElement(false, true));

    tuser = new TextElement("TUConfigForm.user", (user == null) ? "" : user, 255);
    tpass = new PasswordElement("TUConfigForm.pass", 255);
    tpass.setValue((pass == null) ? "" : pass);

    addFormElement("user", tuser);
    addFormElement("pass", tpass);
View Full Code Here

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

  /**
   * PreferencesForm definition
   */
  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);
    addSubmitKey("save","save");
    setCancelButton();
  }
View Full Code Here

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

   */
  private void init() {
    login = new StaticTextElement("smf.login", authentication.getIdentity().getName());
    addFormElement("smf_login", login);
   
    password = new PasswordElement("smf.password", 255);
    addFormElement("smf_password", password);
   
    addSubmitKey("save");
    setCancelButton();
  }
View Full Code Here

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

    // 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));
    getTextElement("pwd2").setMandatory(true);
    // last, the submit buttons
    addSubmitKey("submit.speichernUndregistrieren","submit.speichernUndregistrieren");
    setCancelKey("submit.cancel");
  }
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.