Changeset 6081 for main/waeup.sirp/trunk/src/waeup/sirp
- Timestamp:
- 14 May 2011, 00:52:04 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser.py
r6080 r6081 28 28 from hurry.jqueryui import jqueryui 29 29 from zope.component import getUtility, createObject 30 from zope.formlib.sequencewidget import ( 31 ListSequenceWidget, SequenceDisplayWidget) 32 from zope.formlib.widget import CustomWidgetFactory 30 33 from zope.formlib.widgets import FileWidget, DateWidget 31 34 from zope.securitypolicy.interfaces import IPrincipalRoleManager 35 32 36 from waeup.sirp.browser import ( 33 37 WAeUPPage, WAeUPEditFormPage, WAeUPAddFormPage, 34 38 WAeUPDisplayFormPage, NullValidator) 39 from waeup.sirp.browser.breadcrumbs import Breadcrumb 35 40 from waeup.sirp.browser.pages import LoginPage 36 from waeup.sirp.interfaces import IWAeUPObject37 41 from waeup.sirp.browser.resources import datepicker, tabs, datatable 38 42 from waeup.sirp.browser.viewlets import ( 39 43 AddActionButton, ManageActionButton, PrimaryNavTab, 40 44 ) 41 from waeup.sirp.browser.breadcrumbs import Breadcrumb 45 from waeup.sirp.image.browser.widget import ( 46 ThumbnailWidget, EncodingImageFileWidget, 47 ) 48 from waeup.sirp.interfaces import IWAeUPObject 49 from waeup.sirp.utils.helpers import ReST2HTML 50 from waeup.sirp.widgets.passportwidget import ( 51 PassportWidget, PassportDisplayWidget 52 ) 53 from waeup.sirp.widgets.datewidget import ( 54 FriendlyDateWidget, FriendlyDateDisplayWidget) 55 from waeup.sirp.widgets.restwidget import ReSTWidget 56 from waeup.sirp.widgets.objectwidget import ( 57 WAeUPObjectWidget, WAeUPObjectDisplayWidget) 58 from waeup.sirp.widgets.multilistwidget import ( 59 MultiListWidget, MultiListDisplayWidget) 60 42 61 from waeup.sirp.applicants import get_applicant_data, ResultEntry, Applicant 43 62 from waeup.sirp.applicants.interfaces import ( … … 46 65 IApplicantsContainerAdd 47 66 ) 48 from waeup.sirp.widgets.passportwidget import (49 PassportWidget, PassportDisplayWidget50 )51 from waeup.sirp.widgets.datewidget import (52 FriendlyDateWidget, FriendlyDateDisplayWidget)53 54 from waeup.sirp.widgets.restwidget import ReSTWidget55 56 from zope.formlib.sequencewidget import ListSequenceWidget, SequenceDisplayWidget57 from zope.formlib.widget import CustomWidgetFactory58 from waeup.sirp.utils.helpers import ReST2HTML59 from waeup.sirp.widgets.objectwidget import (60 WAeUPObjectWidget, WAeUPObjectDisplayWidget)61 from waeup.sirp.widgets.multilistwidget import (62 MultiListWidget, MultiListDisplayWidget)63 from waeup.sirp.image.browser.widget import (64 ThumbnailWidget, EncodingImageFileWidget,65 )66 67 67 68 results_widget = CustomWidgetFactory( … … 88 89 datatable.need() 89 90 return 90 91 #def getApplications(self):92 # """Get a list of all stored applicant containers.93 # """94 # for key, val in self.context.items():95 # url = self.url(val)96 # yield(dict(url=url, name=key, container=val))97 91 98 92 class ManageApplicantsRootActionButton(ManageActionButton): … … 233 227 return self.title 234 228 235 #def descriptionToHTML(self):236 # if self.context.description:237 # return ReST2HTML(self.context.description)238 # else:239 # return240 241 242 229 243 230 class ManageApplicantsContainerActionButton(ManageActionButton):
Note: See TracChangeset for help on using the changeset viewer.