Examples of HtmlForm


Examples of org.mojavemvc.tests.views.HTMLForm

        SomeForm form = new SomeForm();
        form.setPassword("pswd");
        form.setUserName("uname");

        return new HTMLForm()
            .withAction("form-controller/process")
            .withTextInput("userName", "userName", "${userName}")
            .withPasswordInput("${password}")
            .withModel(form);
    }
View Full Code Here

Examples of org.mojavemvc.tests.views.HTMLForm

    }

    @Action("form4")
    public View form4() {
       
        return new HTMLForm()
            .withAction("form-controller/process4")
            .withCheckboxInput("someFlag", true, "Flag");
    }
View Full Code Here

Examples of org.mojavemvc.tests.views.HTMLForm

    }
   
    @Action("form5")
    public View form5() {
       
        return new HTMLForm()
            .withAction("form-controller/upload?p1=someVal")
            .withFileInput()
            .withTextInput("userName", "userName");
    }
View Full Code Here

Examples of org.mojavemvc.tests.views.HTMLForm

    }

    @DefaultAction
    public View someDefaultAction() {

        return new HTMLForm()
            .withAction("form-controller/process")
            .withTextInput("userName", "userName", "${userName}")
            .withPasswordInput("${password}");
    }
View Full Code Here

Examples of org.molgenis.framework.ui.html.HtmlForm

    // we should instead use getModel().getHiddenColumns().

    List<String> showColumns = new ArrayList<String>();
    try
    {
      HtmlForm f = getInputs(this.getEntityClass().newInstance(), false);

      for (HtmlInput<?> i : f.getInputs())
      {
        if (!i.isHidden())
        {
          // strip prefix = this.getEntityClass() + "_"
          String name = i.getName();
View Full Code Here

Examples of org.openmrs.module.htmlformentry.HtmlForm

    for(Encounter enc: encounters)
    {
      if(enc.getForm() != null)
      {
        Form encForm = enc.getForm();
        HtmlForm htmlForm = HtmlFormEntryUtil.getService().getHtmlFormByForm(encForm);
        if(htmlForm != null && htmlForm.getId().equals(formId) && dateToCheck.compareTo(enc.getEncounterDatetime()) == 0)
        {
          duplicate = true;
        }
      }
    }
View Full Code Here

Examples of pt.ist.fenixWebFramework.renderers.components.HtmlForm

        private ExecutionSemester executionPeriodContext;

        @Override
        public HtmlComponent createComponent(Object object, Class type) {
            final InputContext inputContext = getInputContext();
            final HtmlForm htmlForm = inputContext.getForm();
            htmlForm.getSubmitButton().setVisible(false);
            htmlForm.getCancelButton().setVisible(false);

            this.studentCurricularPlan = (StudentCurricularPlan) object;

            final HtmlContainer container = new HtmlBlockContainer();
            if (this.studentCurricularPlan == null) {
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.