Package org.openmrs.module.htmlformentry.widget

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


    // Required attribute defaults to true if not specified
    required = ! "false".equalsIgnoreCase(attributes.get("required"));

    if (FIELD_PERSON_NAME.equalsIgnoreCase(field)) {
      nameWidget = new NameWidget();
      nameErrorWidget = new ErrorWidget();
      createWidgets(context, nameWidget, nameErrorWidget,
          existingPatient != null && existingPatient.getPersonName() != null ? existingPatient.getPersonName() : null);
    }
    else if (FIELD_GENDER.equalsIgnoreCase(field)) {
View Full Code Here

TOP

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

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.