Changeset 10094


Ignore:
Timestamp:
23 Apr 2013, 07:30:55 (12 years ago)
Author:
Henrik Bettermann
Message:

Add method to ApplicantManageFormPage? which actually isn't used in the base package. It's easier to add this method here rather than defining the method in all derived view classes.

File:
1 edited

Legend:

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

    r10090 r10094  
    912912        return
    913913
     914    # Not used in base package
     915    def file_exists(self, attr):
     916        file = getUtility(IExtFileStore).getFileByContext(
     917            self.context, attr=attr)
     918        if file:
     919            return True
     920        else:
     921            return False
     922
    914923class ApplicantEditFormPage(ApplicantManageFormPage):
    915924    """An applicant-centered edit view for applicant data.
Note: See TracChangeset for help on using the changeset viewer.