[Zope3-Users] Question about menu.py

2009-02-03 Thread Simon Elbaz
Hi, I am trying to use zope3 menu in grok. I have a question about the getMenuItems function in the file menu.py ( zope.app.publisher/trunk/src/zope/app/publisher/browser/menu.py). My comprehension of the function is: it tries to collect all the adapters of 'object' and 'request' providing the

Re: [Zope3-Users] Question about menu.py

2009-02-03 Thread Dan Korostelev
2009/2/4 Simon Elbaz elbazsim...@gmail.com: When I look to the getMenuItemType() function, it returns a utility ( return zope.component.getUtility(IMenuItemType, self.id)) and the consequence is that the adapter lookup returns nothing in getMenuItems. That's strange, because that IMenuItemType