Changeset 1456 for WAeUP_SRP/trunk/skins/waeup_default
- Timestamp:
- 21 Feb 2007, 16:53:14 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_default/waeup_edit.py
r1435 r1456 77 77 phone = ds.get('phone') 78 78 student_id = context.getStudentId() 79 app_doc = context.application.getContent() 80 jamb_sex = 'M' 81 if ds.get('sex'): 82 jamb_sex = 'F' 83 79 #app_doc = context.application.getContent() 80 #jamb_sex = 'M' 81 #if ds.get('sex'): 82 # jamb_sex = 'F' 84 83 # originally imported data must be kept; app_doc should not be changed here 85 84 #app_doc.edit(mapping={'jamb_lastname': name, 86 85 # 'jamb_sex': jamb_sex 87 86 # }) 88 89 87 context.students_catalog.modifyRecord(id = student_id, 90 88 name = name,
Note: See TracChangeset for help on using the changeset viewer.