Changeset 1892 for WAeUP_SRP/trunk/skins/waeup_student
- Timestamp:
- 13 Jun 2007, 15:57:09 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_student
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/add_course_result.py
r1863 r1892 68 68 context.portal_workflow.doActionFor(cr,'open') 69 69 cr.getContent().edit(mapping=d) 70 #context.portal_workflow.doActionFor(cr,'close')70 context.portal_workflow.doActionFor(cr,'close') 71 71 args['course_id'] = course_id 72 72 -
WAeUP_SRP/trunk/skins/waeup_student/display_cest_results.py
r1805 r1892 19 19 pr = context.portal_registration 20 20 21 res,psm,ds = lt.renderLayout( layout_id='student_application_search',22 schema_id='student_application',23 context=context,24 mapping=validate and REQUEST,25 ob={},26 layout_mode='create',27 formaction = "display_cest_results",28 button = "Search",29 commit=False,30 )31 if psm == 'invalid':21 res,psm,ds = lt.renderLayout('student_application_search', 22 'student_application', 23 context, 24 mapping=validate and REQUEST, 25 layout_mode='create', 26 ob={"jamb_reg_no": '',}, 27 commit=False, 28 formaction = "display_cest_results", 29 button = "Search", 30 ) 31 if True or psm == 'invalid': 32 32 return context.display_cest_results_form(rendered = res, 33 33 psm = "Please correct your input!",
Note: See TracChangeset for help on using the changeset viewer.