コード例 #1
0
ファイル: menu.py プロジェクト: PMR2/pmr2.app
 def __init__(self, context, request):
     # Have to set the context to the root.
     helper = zope.component.queryAdapter(context, IExposureSourceAdapter)
     exposure, workspace, path = helper.source()
     context = exposure
     WorkflowSubMenuItem.__init__(self, context, request)