Ignore:
Timestamp:
31 May 2012, 20:19:58 (13 years ago)
Author:
Henrik Bettermann
Message:

We have to customize also those interfaces which are used for string conversion only. Prepare ApplicantProcessor? and StudentProcessor? for customization.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/batching.py

    r8498 r8581  
    5656    name = u'Student Processor'
    5757    iface = IStudent
     58    iface_byregnumber = IStudentUpdateByRegNo
     59    iface_bymatricnumber = IStudentUpdateByMatricNo
    5860
    5961    location_fields = []
     
    251253        if mode in ['update', 'remove']:
    252254            if self.getLocator(row) == 'reg_number':
    253                 iface = IStudentUpdateByRegNo
     255                iface = self.iface_byregnumber
    254256            elif self.getLocator(row) == 'matric_number':
    255                 iface = IStudentUpdateByMatricNo
     257                iface = self.iface_bymatricnumber
    256258        converter = IObjectConverter(iface)
    257259        errs, inv_errs, conv_dict =  converter.fromStringDict(
Note: See TracChangeset for help on using the changeset viewer.