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

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


   * @param i18nKey The display key
   * @param formItemContiner The container where to add the button
   * @return the new form button
   */
  public FormSubmit addFormSubmitButton(String name, String i18nKey, FormItemContainer formLayout) {
    FormSubmit subm = new FormSubmit(name, i18nKey);
    formLayout.add(subm);
    return subm;
  }
View Full Code Here


    }else if(!singleSelection && !layoutVertical){
      entrySelector = uifactory.addCheckboxesHorizontal(selectionName, null, formLayout, keysIn, translatedKeys, null);
    }
   
    // add Submit
    Submit subm = new FormSubmit("subm", submitI18nKey);
    formLayout.add(subm);
  }
View Full Code Here

    criteriasContainer.add(sortingDirectionSelection);   
   
    // 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

    textElement.setDisplaySize(20);
    textElement.setMandatory(true);
   
    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

      textElement.setMandatory(true);     
      uifactory.addStaticTextElement("extension", null, translate("zip.extension"), horizontalLayout);
     
      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

  protected void initForm(FormItemContainer formLayout, Controller listener, UserRequest ureq) {
    msg = uifactory.addTextElement("msg", null, 1024, null, formLayout);
    msg.setFocus(true);//always focus to the message field
    msg.setDisplaySize(40);

    submit = new FormSubmit("subm", "msg.send");
    formLayout.add(submit);
  }
View Full Code Here

  @Override
  @SuppressWarnings("unused")
  protected void initForm(FormItemContainer formLayout, Controller listener, UserRequest ureq) {
   
    // the submit button
    subm = new FormSubmit("subm", "submit");
    formLayout.add(subm);
    // the reset button
    // FIXME:PB: why does rest not reset the form? Is there manual work involed?
    // Could not find help in other forms on this issue. Thanks for help! (fg)
//    reset = new FormReset("cancel", "cancel");
View Full Code Here

    nbrCharInFile = uifactory.addIntegerElement("nbr.char.in.file", "filesystemtest.nbrCharInFile.label", 100, verticalL);
    callFsSync = uifactory.addRadiosHorizontal("call.fs.sync", "filesystemtest.call.fs.sync.label", verticalL, new String[] {"yes","no"}, new String[] {"yes","no"});
    callFsSync.select("no", true);
    checkWithRetries = uifactory.addRadiosHorizontal("check.with.retries","filesystemtest.check.with.retries.label", verticalL, new String[] {"yes","no"}, new String[] {"yes","no"});
    checkWithRetries.select("no", true);
    Submit saveButton = new FormSubmit("save","save");
    formLayout.add(saveButton)
 
View Full Code Here

   
    chatPollTime = uifactory.addIntegerElement("chatpolltime", "imadming.chatpolltime", InstantMessagingModule.getCHAT_POLLTIME(), mainLayout);
    chatPollTime.setExampleKey("imadming.chatpolltime.default", new String[]{""+InstantMessagingModule.getAdapter().getConfig().getChatPolltime()});
    chatPollTime.showExample(true);
   
    submit = new FormSubmit("subm","submit");
   
    mainLayout.add(idlePollTime);
    mainLayout.add(chatPollTime);
    mainLayout.add(submit);
   
View Full Code Here

    this.flc.contextPut("useragents", userAgentFieldNames);
   
    newuseragent = uifactory.addTextElement("newuseragent", "form.useragent.new", -1, "", agentSubContainer);
    newuseragent.setDisplaySize(32);
   
    subm = new FormSubmit("subm", "submit");
    agentSubContainer.add(subm);
 
  }
View Full Code Here

TOP

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

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.