Changeset 6082 for main/waeup.sirp/trunk


Ignore:
Timestamp:
14 May 2011, 01:11:51 (14 years ago)
Author:
uli
Message:

Reorder imports, fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser.py

    r6081 r6082  
    2222"""UI components for basic applicants and related components.
    2323"""
     24import sys
    2425import grok
    2526
    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)
     27from zope.component import getUtility
    3228from zope.formlib.widget import CustomWidgetFactory
    33 from zope.formlib.widgets import FileWidget, DateWidget
     29from zope.interface import Invalid
    3430from zope.securitypolicy.interfaces import IPrincipalRoleManager
    3531
     
    3834    WAeUPDisplayFormPage, NullValidator)
    3935from waeup.sirp.browser.breadcrumbs import Breadcrumb
    40 from waeup.sirp.browser.pages import LoginPage
    4136from waeup.sirp.browser.resources import datepicker, tabs, datatable
    42 from waeup.sirp.browser.viewlets import (
    43     AddActionButton, ManageActionButton, PrimaryNavTab,
    44     )
     37from waeup.sirp.browser.viewlets import ManageActionButton, PrimaryNavTab
    4538from waeup.sirp.image.browser.widget import (
    4639    ThumbnailWidget, EncodingImageFileWidget,
    4740    )
    4841from waeup.sirp.interfaces import IWAeUPObject
    49 from waeup.sirp.utils.helpers import ReST2HTML
    50 from waeup.sirp.widgets.passportwidget import (
    51     PassportWidget, PassportDisplayWidget
    52     )
    5342from waeup.sirp.widgets.datewidget import (
    5443    FriendlyDateWidget, FriendlyDateDisplayWidget)
     
    5948    MultiListWidget, MultiListDisplayWidget)
    6049
    61 from waeup.sirp.applicants import get_applicant_data, ResultEntry, Applicant
     50from waeup.sirp.applicants import ResultEntry, Applicant
    6251from waeup.sirp.applicants.interfaces import (
    6352    IApplicant, IApplicantPrincipal, IApplicantPDEEditData,
     
    386375
    387376    def dataComplete(self):
    388         if context.confirm_passport is not True:
     377        if self.context.confirm_passport is not True:
    389378            return False
    390379        if len(self.errors) > 0:
Note: See TracChangeset for help on using the changeset viewer.