Ignore:
Timestamp:
16 Aug 2007, 18:43:20 (17 years ago)
Author:
Henrik Bettermann
Message:

form shows now the correct data and correct mode

select widget for course3 added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_student/apply_pume.py

    r2106 r2108  
    105105        data['application_date'] = current
    106106        data['status'] = "submitted"
    107         context.applicants_catalog.modifyRecord(**data)           
     107        context.applicants_catalog.modifyRecord(**data)
     108        res,psm_dummy,ds = lt.renderLayout(layout_id= 'application',
     109                                schema_id= 'application',
     110                                layout_mode = mode,
     111                                context=context,
     112                                mapping=validate and REQUEST,
     113                                ob=object,
     114                                commit = False,
     115                                )                     
    108116elif create:
    109117    if submitted:
     
    126134    psm = "Content changed"
    127135
    128 res,psm_dummy,ds = lt.renderLayout(layout_id= 'application',
    129                              schema_id= 'application',
    130                              layout_mode = mode,
    131                              context=context,
    132                              mapping=validate and REQUEST,
    133                              ob=object,
    134                              commit = False,
    135                             )
     136
    136137   
    137138return context.apply_pume_form(rendered = res,
Note: See TracChangeset for help on using the changeset viewer.