Package org.molgenis.framework.ui.html

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


    inputs.add(t);

    // put ids of selected rows in hidden field
    for (Object id : this.selectedIds)
    {
      HiddenInput h = new HiddenInput(FormModel.INPUT_SELECTED, id);
      h.setDescription("Hidden input");
      inputs.add(h);
    }

    // get inputs from formscreen
    for (HtmlInput<?> input : this.getFormScreen().getNewRecordForm().getInputs())
View Full Code Here


        ((AbstractRefInput<E>) inputs.get(i)).setIncludeAddButton(false);
      }
    }
    // add three hidden fields for javascript to know entity name, id field
    // and label field
    inputs.add(new HiddenInput("entity_name", xrefEntity.getClass().getSimpleName().toLowerCase()));
    inputs.add(new HiddenInput("id_field", this.xrefEntity.getIdField()));
    inputs.add(new HiddenInput("label_field", this.xrefEntity.getLabelFields().get(0)));
    return inputs;
  }
View Full Code Here

TOP

Related Classes of org.molgenis.framework.ui.html.HiddenInput

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.