Hi,<br>
I am trying to use zope3 menu in grok.<br>
<br>
I have a question about the getMenuItems function in the file menu.py (
zope.app.publisher/trunk/src/zope/app/publisher/browser/menu.py).<br>
My comprehension of the function is:<br>
it tries to collect all the adapters of 'object' and 'request'
providing the interface returned by <br>
self.getMenuItemType().<br>
<br>
When I look to the getMenuItemType() function, it returns a utility (<br>
return zope.component.getUtility(IMenuItemType, <a href="http://self.id">self.id</a>)) and the
consequence is that the adapter lookup returns nothing in getMenuItems.<br>
<br>
Is that a bug or I -surely- have missed something ?<br>
Thanks for your explanation<br>
Simon Elbaz<br>
<br>