Changeset 1158 for WAeUP_SRP/trunk/skins/waeup_student
- Timestamp:
- 30 Dec 2006, 16:58:14 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_student
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/createStudentFT.py
r1151 r1158 44 44 student_brain.Lastname) 45 45 ) 46 return "Student MatricelNo %s and %s created" % (matric_no,sid) 46 return "Student MatricelNo %s and %s Jamb %s created" % (matric_no, 47 sid, 48 student_brain.Entryregno) 47 49 -
WAeUP_SRP/trunk/skins/waeup_student/set_access_data.py
r1154 r1158 42 42 elif psm == 'valid': 43 43 pass 44 #jamb_reg_no = ds.get('jamb_reg_no')45 #r = context.returning_import(matric_no = matric_no)46 #if 0 andr and r[0].Entryregno != jamb_reg_no or not r:47 #psm = "Your Jamb Registration Nr is wrong"48 #return context.set_access_data_form(rendered = res,49 #psm = psm,50 #firstlayout = True,51 #lastlayout = True,52 #ds = ds,53 #)44 jamb_reg_no = ds.get('jamb_reg_no') 45 r = context.returning_import(matric_no = matric_no) 46 if r and r[0].Entryregno != jamb_reg_no or not r: 47 psm = "Your Jamb Registration Nr is wrong" 48 return context.set_access_data_form(rendered = res, 49 psm = psm, 50 firstlayout = True, 51 lastlayout = True, 52 ds = ds, 53 ) 54 54 ## from Products.zdb import set_trace;set_trace() 55 55 password = REQUEST.get('widget__password')
Note: See TracChangeset for help on using the changeset viewer.