Changeset 6082 for main/waeup.sirp/trunk
- Timestamp:
- 14 May 2011, 01:11:51 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser.py
r6081 r6082 22 22 """UI components for basic applicants and related components. 23 23 """ 24 import sys 24 25 import grok 25 26 26 from datetime import datetime 27 from hurry.jquery import jquery 28 from hurry.jqueryui import jqueryui 29 from zope.component import getUtility, createObject 30 from zope.formlib.sequencewidget import ( 31 ListSequenceWidget, SequenceDisplayWidget) 27 from zope.component import getUtility 32 28 from zope.formlib.widget import CustomWidgetFactory 33 from zope. formlib.widgets import FileWidget, DateWidget29 from zope.interface import Invalid 34 30 from zope.securitypolicy.interfaces import IPrincipalRoleManager 35 31 … … 38 34 WAeUPDisplayFormPage, NullValidator) 39 35 from waeup.sirp.browser.breadcrumbs import Breadcrumb 40 from waeup.sirp.browser.pages import LoginPage41 36 from waeup.sirp.browser.resources import datepicker, tabs, datatable 42 from waeup.sirp.browser.viewlets import ( 43 AddActionButton, ManageActionButton, PrimaryNavTab, 44 ) 37 from waeup.sirp.browser.viewlets import ManageActionButton, PrimaryNavTab 45 38 from waeup.sirp.image.browser.widget import ( 46 39 ThumbnailWidget, EncodingImageFileWidget, 47 40 ) 48 41 from waeup.sirp.interfaces import IWAeUPObject 49 from waeup.sirp.utils.helpers import ReST2HTML50 from waeup.sirp.widgets.passportwidget import (51 PassportWidget, PassportDisplayWidget52 )53 42 from waeup.sirp.widgets.datewidget import ( 54 43 FriendlyDateWidget, FriendlyDateDisplayWidget) … … 59 48 MultiListWidget, MultiListDisplayWidget) 60 49 61 from waeup.sirp.applicants import get_applicant_data,ResultEntry, Applicant50 from waeup.sirp.applicants import ResultEntry, Applicant 62 51 from waeup.sirp.applicants.interfaces import ( 63 52 IApplicant, IApplicantPrincipal, IApplicantPDEEditData, … … 386 375 387 376 def dataComplete(self): 388 if context.confirm_passport is not True:377 if self.context.confirm_passport is not True: 389 378 return False 390 379 if len(self.errors) > 0:
Note: See TracChangeset for help on using the changeset viewer.