Changeset 3531
- Timestamp:
- 03/03/08 22:40:57 (10 months ago)
- Files:
-
- openmrs-modules/basicmodule/.classpath (modified) (1 diff)
- openmrs-modules/basicmodule/lib-common/openmrs-api-1.1.10.2283.jar (deleted)
- openmrs-modules/basicmodule/lib-common/openmrs-api-1.2.0.3409.jar (added)
- openmrs-modules/basicmodule/lib-common/web-openmrs-api-1.1.10.2283.jar (deleted)
- openmrs-modules/basicmodule/lib-common/web-openmrs-api-1.2.0.3530.jar (added)
- openmrs-modules/basicmodule/metadata/config.xml (modified) (1 diff)
- openmrs-modules/basicmodule/web/src/org/openmrs/module/basicmodule/web/controller/BasicModuleFormController.java (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
openmrs-modules/basicmodule/.classpath
r2587 r3531 11 11 12 12 <classpathentry kind="lib" path="lib-common/junit-3.8.1.jar"/> 13 <classpathentry kind="lib" path="lib-common/openmrs-api-1. 1.10.2283.jar"/>14 <classpathentry kind="lib" path="lib-common/web-openmrs-api-1. 1.10.2283.jar"/>13 <classpathentry kind="lib" path="lib-common/openmrs-api-1.2.0.3409.jar"/> 14 <classpathentry kind="lib" path="lib-common/web-openmrs-api-1.2.0.3530.jar"/> 15 15 <classpathentry kind="lib" path="lib-common/commons-logging-1.0.4.jar"/> 16 16 <classpathentry kind="lib" path="lib-common/spring-2.0.jar"/> openmrs-modules/basicmodule/metadata/config.xml
r2429 r3531 19 19 <!-- /Base Module Properties --> 20 20 21 <require_version>1. 1.10.2283</require_version>21 <require_version>1.2.0.3400</require_version> 22 22 23 <!-- Extensions 23 <!-- Extensions --> 24 24 <extension> 25 25 <point>org.openmrs.admin.list</point> 26 26 <class>@MODULE_PACKAGE@.extension.html.AdminList</class> 27 27 </extension> 28 /Extensions -->29 28 30 29 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