Changeset 4886
- Timestamp:
- 07/09/08 19:25:54 (6 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
openmrs/trunk/src/web/org/openmrs/web/controller/patient/NewPatientFormController.java
r4873 r4886 566 566 model.put(getCommandName(), new ShortPatientModel(patient)); 567 567 568 // evict from session so that nothing temporarily added here is saved 569 Context.evictFromSession(patient); 570 568 571 return this.showForm(request, response, errors, model); 569 572 //return new ModelAndView(new RedirectView(getFormView())); … … 655 658 Map<String, Object> map = new HashMap<String, Object>(); 656 659 657 // the list of identifiers to display 658 Set<PatientIdentifier> identifiers = new TreeSet<PatientIdentifier>(); 660 // the list of identifiers to display 661 // this is a hashset so that the comparison is one with .equals() instead of .compareTo 662 Set<PatientIdentifier> identifiers = new HashSet<PatientIdentifier>(); 659 663 660 664 Patient patient = null;