- Timestamp:
- 4 Jun 2011, 14:00:09 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/applicants/container.py
r6198 r6280 24 24 """ 25 25 import grok 26 from zope.component.factory import Factory 27 from zope.component.interfaces import IFactory 26 28 from waeup.sirp.applicants.interfaces import ( 27 29 IApplicantsContainer, IApplicantsContainerAdd, … … 34 36 """ 35 37 grok.implements(IApplicantsContainer,IApplicantsContainerAdd) 36 #grok.provides(IApplicantsContainer)37 38 38 39 #: These are 'class-attributes'. Do not fiddle around with it in … … 97 98 #: :class:`ApplicantsContainer`. 98 99 factory = ApplicantsContainer 100 101 factory = Factory(lambda : ApplicantsContainer, 'ApplicantsContainer') 102 grok.global_utility(factory, IFactory, name='waeup.ApplicantsContainer')
Note: See TracChangeset for help on using the changeset viewer.