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/browser.py

    r6322 r6324  
    470470        return 'not yet admitted'
    471471
    472     @property
    473     def getApplicationState(self):
    474         state = IWorkflowState(self.context).getState()
    475         return state
     472    #@property
     473    #def getApplicationState(self):
     474    #    state = IWorkflowState(self.context).getState()
     475    #    return state
    476476
    477477class ApplicantsManageActionButton(ManageActionButton):
     
    522522        return transitions
    523523
    524     @property
    525     def getApplicationState(self):
    526         state = IWorkflowState(self.context).getState()
    527         return state
     524    #@property
     525    #def getApplicationState(self):
     526    #    state = IWorkflowState(self.context).getState()
     527    #    return state
    528528
    529529    @grok.action('Save')
Note: See TracChangeset for help on using the changeset viewer.