|
HowTo_ViewletManagers
About viewlet managers
!+OUTOFDATE(mr, jun-2011) The viewlet managers are:
For 'version.manager' there is no 'version.py' module and it does not include (the now deleted, circa r8360) 'version.zcml' in any zcml file. 'bungeni.scheduling', 'bungeni.workspace, 'bungeni.workspace-archive' are based on standard viewlet manager. The only manager doing filtering on viewlets is 'SubFormViewletManager' in bungeni/ui/forms/viewlets.py The class has a 'filter' method calling 'for_display' on viewlets, but the only viewlet using the workflow is SupplementaryQuestionsViewlet, the code is: @property
def for_display(self):
return self.context.__parent__.status == question_wf_state[u"response_submitted"].id
| |
► Sign in to add a comment