Changeset 5779
- Timestamp:
- 22 Feb 2011, 09:10:35 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/applicants/jambtables/browser.py
r5776 r5779 23 23 """ 24 24 import grok 25 from waeup.sirp.browser.pages import LoginPage 26 from waeup.sirp.applicants.interfaces import IApplicantPrincipal 27 from waeup.sirp.applicants.jambtables.util import get_applicant_data 28 from waeup.sirp.interfaces import IWAeUPObject 25 29 26 from zope.formlib.widgets import FileWidget27 from waeup.sirp.browser import (28 WAeUPPage, WAeUPEditFormPage, WAeUPAddFormPage,29 WAeUPDisplayFormPage, NullValidator)30 from waeup.sirp.browser.pages import LoginPage31 from waeup.sirp.interfaces import IWAeUPObject32 from waeup.sirp.applicants.jambtables.util import get_applicant_data33 from waeup.sirp.applicants.interfaces import (34 IApplicant, IApplicantPrincipal, IApplicantPDEEditData)35 from waeup.sirp.widgets.passportwidget import (36 PassportWidget, PassportDisplayWidget37 )38 #from zope.formlib.objectwidget import ObjectWidget39 from zope.formlib.sequencewidget import ListSequenceWidget, SequenceDisplayWidget40 from zope.formlib.widget import CustomWidgetFactory41 from waeup.sirp.applicants import ResultEntry42 from waeup.sirp.widgets.objectwidget import (43 WAeUPObjectWidget, WAeUPObjectDisplayWidget)44 from waeup.sirp.widgets.multilistwidget import (45 MultiListWidget, MultiListDisplayWidget)46 from waeup.sirp.image.browser.widget import (47 ThumbnailWidget, EncodingImageFileWidget,48 )49 50 results_widget = CustomWidgetFactory(51 WAeUPObjectWidget, ResultEntry)52 53 results_display_widget = CustomWidgetFactory(54 WAeUPObjectDisplayWidget, ResultEntry)55 56 #list_results_widget = CustomWidgetFactory(57 # ListSequenceWidget, subwidget=results_widget)58 59 list_results_widget = CustomWidgetFactory(60 MultiListWidget, subwidget=results_widget)61 62 list_results_display_widget = CustomWidgetFactory(63 MultiListDisplayWidget, subwidget=results_display_widget)64 30 65 31 class Login_PDE(LoginPage):
Note: See TracChangeset for help on using the changeset viewer.