Ignore:
Timestamp:
10 Jun 2011, 08:26:06 (13 years ago)
Author:
Henrik Bettermann
Message:

Provide application state as a (property) method of Applicant. This allows displaying the state of Applicant objects on ApplicantsContainer? form pages.

File:
1 edited

Legend:

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

    r6322 r6324  
    5050        #Initialize workflow state...
    5151        IWorkflowInfo(self).fireTransition('init')
     52
     53    @property
     54    def getApplicationState(self):
     55        state = IWorkflowState(self).getState()
     56        return state
    5257
    5358# Set all attributes of Applicant required in IApplicant as field
Note: See TracChangeset for help on using the changeset viewer.