Ignore:
Timestamp:
16 Nov 2005, 16:44:13 (19 years ago)
Author:
joachim
Message:

=post-primary results adding

File:
1 copied

Legend:

Unmodified
Added
Removed
  • waeup_product/trunk/skins/waeup_student/personal_addon.py

    r176 r179  
    2222                               schema_id = 'jamb')
    2323
    24 res,psm,ds = lt.renderLayout(layout_id= 'student_eligibility',
    25                       schema_id= 'student_eligibility',
     24res,psm,ds = lt.renderLayout(layout_id= 'student_personal_addon',
     25                      schema_id= 'student_personal',
    2626                      context=context,
    2727                      mapping=validate and REQUEST,
     
    3131res = jamb_rendered + res
    3232if psm == 'invalid':
    33     return context.eligibility_form(rendered = res,
     33    return context.personal_addon_form(rendered = res,
    3434                                 #psm = str(ds),
    3535                                 psm = "Please correct your input",
     
    3737                                 )
    3838elif psm == '':
    39     return context.eligibility_form(rendered = res,
     39    return context.personal_addon_form(rendered = res,
    4040                                 psm = None,
    4141                                 ds = ds,
     
    4646    #pw = REQUEST.get("widget__pw")
    4747    #pm.setPassword(pw)
    48 psm = 'Email has been successfully set.'
    49 return context.REQUEST.RESPONSE.redirect('%s' % context.portal_url.getUrlFromRpath('/students'))
     48psm = 'Email has been successfully set. '
     49##return context.REQUEST.RESPONSE.redirect('%s' % context.portal_url.getUrlFromRpath('/students'))
    5050
    51 ##return context.eligibility_form(rendered = res,
    52 ##                                 psm = psm,
    53 ##                                 ds = ds,
    54 ##                                 )
     51return context.eligibility()
Note: See TracChangeset for help on using the changeset viewer.