Ignore:
Timestamp:
13 May 2011, 15:25:22 (14 years ago)
Author:
Henrik Bettermann
Message:

Rename ApplicantsRootEditPage? to ApplicantsRootManageFormPage?.
Rename AddApplicantsContainer? to ApplicantsContainerAddFormPage?.
Change from base class WAeUPPage to WAeUPEditFormPage and WAeUPAddFormPage respectively.

File:
1 edited

Legend:

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

    r5884 r6069  
    2525import grok
    2626from waeup.sirp.applicants.interfaces import (
    27     IApplicantsContainer, IApplicantsContainerProvider,
     27    IApplicantsContainer, IApplicantsContainerAdd,
     28    IApplicantsContainerProvider,
    2829    )
     30from zope.schema.fieldproperty import FieldProperty   
    2931
    3032class ApplicantsContainer(grok.Container):
    3133    """An applicants container contains university applicants.
    3234    """
    33     grok.implements(IApplicantsContainer)
     35    grok.implements(IApplicantsContainer,IApplicantsContainerAdd)
     36    #grok.provides(IApplicantsContainer)
    3437
    3538    title = u'Simple applicant container'
     
    3841    enddate = None
    3942    strict_deadline = True
    40 
    41     @property
    42     def name(self):
    43         return getattr(self, '__name__', None)
     43    provider = None
     44    code = None
    4445   
    4546    def archive(self, app_ids=None):
     
    7475        """
    7576        raise NotImplemented()
    76 
     77       
    7778class ApplicantsContainerProvider(grok.GlobalUtility):
    7879    """A utility that provides basic applicants containers.
Note: See TracChangeset for help on using the changeset viewer.