Package org.openmrs.module.htmlformentry.widget

Examples of org.openmrs.module.htmlformentry.widget.HiddenFieldWidget


        }
      }
      createWidgets(context, identifierTypeValueWidget, identifierTypeValueErrorWidget, initialValue);

      if (idType != null) {
        identifierTypeWidget = new HiddenFieldWidget();
        createWidgets(context, identifierTypeWidget, null, idType.getId().toString());
      }
      else {
        identifierTypeWidget = new DropdownWidget();
        List<PatientIdentifierType> patientIdentifierTypes = HtmlFormEntryUtil.getPatientIdentifierTypes();
View Full Code Here


    if (label == null && tagParams.getLabelText() != null) {
      label = tagParams.getLabelText();
    }
   
    if (tagParams.getType().equals("hidden")) {
      widget = new HiddenFieldWidget();
      // there is only one state
      Entry<String, ProgramWorkflowState> state = states.entrySet().iterator().next();
      widget.setInitialValue(state.getValue().getUuid());
    } else if (tagParams.getType().equals("checkbox")) {
      // there is only one state
View Full Code Here

TOP

Related Classes of org.openmrs.module.htmlformentry.widget.HiddenFieldWidget

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.