Changeset 179 for waeup_product/trunk/skins/waeup_student/personal_addon.py
- Timestamp:
- 16 Nov 2005, 16:44:13 (19 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
waeup_product/trunk/skins/waeup_student/personal_addon.py
r176 r179 22 22 schema_id = 'jamb') 23 23 24 res,psm,ds = lt.renderLayout(layout_id= 'student_ eligibility',25 schema_id= 'student_ eligibility',24 res,psm,ds = lt.renderLayout(layout_id= 'student_personal_addon', 25 schema_id= 'student_personal', 26 26 context=context, 27 27 mapping=validate and REQUEST, … … 31 31 res = jamb_rendered + res 32 32 if psm == 'invalid': 33 return context. eligibility_form(rendered = res,33 return context.personal_addon_form(rendered = res, 34 34 #psm = str(ds), 35 35 psm = "Please correct your input", … … 37 37 ) 38 38 elif psm == '': 39 return context. eligibility_form(rendered = res,39 return context.personal_addon_form(rendered = res, 40 40 psm = None, 41 41 ds = ds, … … 46 46 #pw = REQUEST.get("widget__pw") 47 47 #pm.setPassword(pw) 48 psm = 'Email has been successfully set. '49 return context.REQUEST.RESPONSE.redirect('%s' % context.portal_url.getUrlFromRpath('/students'))48 psm = 'Email has been successfully set. ' 49 ##return context.REQUEST.RESPONSE.redirect('%s' % context.portal_url.getUrlFromRpath('/students')) 50 50 51 ##return context.eligibility_form(rendered = res, 52 ## psm = psm, 53 ## ds = ds, 54 ## ) 51 return context.eligibility()
Note: See TracChangeset for help on using the changeset viewer.