[Zope3-Users] Question about menu.py

Dan Korostelev nadako at gmail.com
Tue Feb 3 20:37:51 EST 2009


2009/2/4 Simon Elbaz <elbazsimon9 at 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 utility is the interface
that the menu item adapters are registered as providing. It works as
intended here in plain zope3. Can you provide some more info?

-- 
WBR, Dan Korostelev


More information about the Zope3-users mailing list