- Timestamp:
- 7 Mar 2012, 18:02:41 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/branches/ulif-schoolgrades/src/waeup/sirp/applicants/browser.py
r7771 r7780 638 638 return True 639 639 640 from waeup.sirp.applicants.interfaces import IResultEntry641 from waeup.sirp.widgets.objectwidget import SIRPObjectWidget642 from waeup.sirp.applicants.applicant import ResultEntry643 from zope.formlib.widget import CustomWidgetFactory644 from zope.formlib.widgets import ListSequenceWidget645 entry_widget = CustomWidgetFactory(SIRPObjectWidget, ResultEntry)646 sw = CustomWidgetFactory(ListSequenceWidget, subwidget=entry_widget)647 648 640 class ApplicantManageFormPage(SIRPEditFormPage): 649 641 """A full edit view for applicant data. … … 657 649 form_fields['applicant_id'].for_display = True 658 650 form_fields['phone'].custom_widget = PhoneWidget 659 #form_fields['school_grades'].custom_widget = sw660 651 grok.template('applicanteditpage') 661 652 manage_applications = True … … 789 780 form_fields['phone'].custom_widget = PhoneWidget 790 781 form_fields['applicant_id'].for_display = True 791 #form_fields['school_grades'].custom_widget = sw792 782 grok.template('applicanteditpage') 793 783 manage_applications = False
Note: See TracChangeset for help on using the changeset viewer.