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 interface returned by
self.getMenuItemType().

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.

Is that a bug or I -surely- have missed something ?
Thanks for your explanation
Simon Elbaz
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to