Changeset 1060 for WAeUP_SRP/trunk
- Timestamp:
- 14 Dec 2006, 12:48:49 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_default/waeup_edit.py
r1057 r1060 58 58 ) 59 59 elif context.portal_type in ("StudentPersonal",): 60 name = "%(firstname) %(middlename)s %(lastname)s" % ds60 name = "%(firstname)s %(middlename)s %(lastname)s" % ds 61 61 student_id = context.getStudentId() 62 app_doc = context.application.getContent() 63 jamb_sex = 'M' 64 if ds.get('sex'): 65 jamb_sex = 'F' 66 app_doc.edit(mapping={'jamb_lastname': name, 67 'jamb_sex': jamb_sex 68 }) 62 69 context.students_catalog.modifyRecord(id = student_id, 63 70 name = name,
Note: See TracChangeset for help on using the changeset viewer.