예제 #1
0
 def __init__(self, context, request):
     BrowserSubMenuItem.__init__(self, context, request)
예제 #2
0
 def __init__(self, context, request):
     BrowserSubMenuItem.__init__(self, context, request)
     self.context_state = getMultiAdapter((context, request),
                                          name='plone_context_state')
예제 #3
0
 def __init__(self, context, request):
     BrowserSubMenuItem.__init__(self, context, request)
     self.tools = getMultiAdapter((context, request), name='plone_tools')
     self.context = context
     self.context_state = getMultiAdapter((context, request), name='plone_context_state')