Package org.olat.core.gui.formelements

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


    }
   
    isAssessableEl = new CheckBoxElement("assessable.label", isAssessable);
    addFormElement("isassessable", isAssessableEl);
   
    cutValueEl = new IntegerElement("cutvalue.label", cutValue);
    addFormElement("cutvalue", cutValueEl);

    addSubmitKey("save","save");
 
  }
View Full Code Here


   
    description = new TextElement("cif.description", "", false, 255);
    addFormElement("cif_description", description);
   
    if (isAdmin) {
      id = new IntegerElement("cif.id");
      addFormElement("cif_id", id);
    } else {
      id = null;
    }
   
View Full Code Here

      passedType.select(ScoreCalculator.PASSED_TYPE_NONE, true); // default
    }

    int cutinitval = 0;
    if (scoreCalculator != null) cutinitval = scoreCalculator.getPassedCutValue();
    passedCutValue = new IntegerElement("scform.passedCutValue", cutinitval, 4);
    addFormElement("passedCutValue", passedCutValue);

    passedNodeIdents = initNodeSelectionElement("scform.passedNodeIndents", scoreCalculator, (scoreCalculator == null ? null
        : scoreCalculator.getPassedNodes()), nodeIdentList);
    addFormElement("passedNodeIdents", passedNodeIdents);
View Full Code Here

  /**
   * @param name
   */
  public PreviewForm(String name, Translator translator) {
    super(name, translator);
    telem = new IntegerElement("label.points");
    addFormElement("points", telem);
    setSubmitKey("save");
  }
View Full Code Here

   * @param isAdmin if true, no field must be filled in at all, otherwise
   *          validation takes place
   */
  public SelectionForm(String name, Translator translator) {
    super(name, translator);
    lastUsageDuration = new IntegerElement("edit.parameter.form.lastusage.duration", RepositoryDeletionManager.getInstance().getLastUsageDuration());
    addFormElement("lastUsageDuration", lastUsageDuration);
    emailDuration = new IntegerElement("edit.parameter.form.email.duration", RepositoryDeletionManager.getInstance().getDeleteEmailDuration());
    addFormElement("emailDuration", emailDuration);
    addSubmitKey("edit.parameter.form.submit", "submit");
    setCancelButton();
  }
View Full Code Here

   * @param isAdmin if true, no field must be filled in at all, otherwise
   *          validation takes place
   */
  public SelectionForm(String name, Translator translator) {
    super(name, translator);
    lastUsageDuration = new IntegerElement("edit.parameter.form.lastusage.duration", GroupDeletionManager.getInstance().getLastUsageDuration());
    addFormElement("lastUsageDuration", lastUsageDuration);
    emailDuration = new IntegerElement("edit.parameter.form.email.duration", GroupDeletionManager.getInstance().getDeleteEmailDuration());
    addFormElement("emailDuration", emailDuration);
    addSubmitKey("edit.parameter.form.submit", "submit");
    setCancelButton();
  }
View Full Code Here

TOP

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

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.