Ignore:
Timestamp:
7 Mar 2012, 08:28:34 (13 years ago)
Author:
uli
Message:

Use the new schemas/widgets automatically.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/branches/ulif-schoolgrades/src/waeup/sirp/applicants/interfaces.py

    r7761 r7770  
    3838    lgas_vocab, CertificateSource, GenderSource)
    3939from waeup.sirp.payments.interfaces import IOnlinePayment
     40from waeup.sirp.schema import MultiValObject
    4041
    4142#: Maximum upload size for applicant passport photographs (in bytes)
     
    470471    school_grades = schema.List(
    471472        title = _(u'School Grades'),
    472         value_type = schema.Object(
     473        value_type = MultiValObject(
    473474            schema = IResultEntry),
     475        #value_type = schema.Object(
     476        #    schema = IResultEntry),
    474477        required = True,
    475478        default = [],
Note: See TracChangeset for help on using the changeset viewer.