Changeset 3531 for openmrs-modules/basicmodule/web
- Timestamp:
- 03/03/08 22:40:57 (10 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
openmrs-modules/basicmodule/web/src/org/openmrs/module/basicmodule/web/controller/BasicModuleFormController.java
r3525 r3531 14 14 package org.openmrs.module.basicmodule.web.controller; 15 15 16 import java.util.Collection; 16 17 import java.util.HashMap; 17 import java.util.List;18 18 import java.util.Map; 19 19 … … 75 75 */ 76 76 @Override 77 protected List<Patient> formBackingObject(HttpServletRequest request) throws Exception {77 protected Collection<Patient> formBackingObject(HttpServletRequest request) throws Exception { 78 78 79 79 // get all patients that have an identifier "1234" 80 80 // see http://resources.openmrs.org/doc/index.html?org/openmrs/api/PatientService.html for 81 81 // a list of all PatientService methods 82 List<Patient> patients = Context.getPatientService().findPatients("1234", false);82 Collection<Patient> patients = Context.getPatientService().findPatients("1234", false); 83 83 84 84 // this object will be made available to the jsp page under the variable name