Package org.olat.core.gui.components.form.flexible.impl.elements

Examples of org.olat.core.gui.components.form.flexible.impl.elements.FormReset


  /**
   * Adds a <code>Reset</code> <code>FormItem</code> to the current <code>FormLayoutContainer</code>.  
   * @param i18nKey
   */
  public void addReset(String i18nKey) {
    Reset reset = new FormReset("reset", i18nKey);
    this.flc.add(reset);
  }
View Full Code Here


    // button layout container horizontally. add this one to form layout to not have the indent
    FormLayoutContainer buttonContainer = FormLayoutContainer.createButtonLayout("buttonContainer", getTranslator());
    formLayout.add(buttonContainer);
    submit = new FormSubmit("submit","submit");
    buttonContainer.add(submit);
    reset = new FormReset("reset","reset");
    buttonContainer.add(reset);
   
  }
View Full Code Here

   
    FormLayoutContainer formButtons = FormLayoutContainer.createHorizontalFormLayout("formButton", getTranslator());
    formLayout.add(formButtons);
    createFile = new FormSubmit("submit",i18nkeyMap.get(SUBMIT_ELEM_I18N_KEY));
    formButtons.add(createFile);
    reset = new FormReset("reset",i18nkeyMap.get(RESET_ELEM_I18N_KEY));
    formButtons.add(reset);     
 
View Full Code Here

     
      FormLayoutContainer formButtons = FormLayoutContainer.createHorizontalFormLayout("formButton", getTranslator());
      formLayout.add(formButtons);
      createFile = new FormSubmit("submit","zip.button");
      formButtons.add(createFile);
      reset = new FormReset("reset","cancel");
      formButtons.add(reset);     
   
View Full Code Here

    entrySelector = uifactory.addCheckboxesVertical("entries",  null, boundTo, entries, entries, null, 1);
    // submitCancel after checkboxes
    //
    Submit subm = new FormSubmit("subm", "apply");
    Reset reset = new FormReset("reset", "cancel");
    boundTo.add(subm);
    boundTo.add(reset);
  }
View Full Code Here

    String[] keys = new String[] {"form.clean.catalog", "form.clean.groups"};
    String[] values = new String[] {translator.translate("form.clean.catalog"), translator.translate("form.clean.groups")};
    checkboxClean = uifactory.addCheckboxesVertical("form.clean.catalog", null, formLayout, keys, values, null, 1);
   
    submit = new FormSubmit("next", "next");
    back = new FormReset("back", "back");
    FormLayoutContainer horizontalL = FormLayoutContainer.createHorizontalFormLayout("horiz", getTranslator());
    formLayout.add(horizontalL);
    horizontalL.add(back);
    horizontalL.add(submit);
   
View Full Code Here

TOP

Related Classes of org.olat.core.gui.components.form.flexible.impl.elements.FormReset

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.