[Zope3-Users] Question about menu.py

Dan Korostelev nadako at gmail.com
Wed Feb 4 12:14:00 EST 2009


2009/2/4 Simon Elbaz <elbazsimon9 at gmail.com>:
> If I try to create a utility subclassing interface.Interface and
> implementing IMenuItemType like this:
>
> class OtherMenuItem(interface.Interface):
>         grok.implements(IAMenuItem, IMenuItemType)
>
> I get the following error:

Sorry, I don't currently have time to analyze your code as I must go,
but the thing I can say right now is that the interface should provide
the IMenuItemType, not implement it.

-- 
WBR, Dan Korostelev


More information about the Zope3-users mailing list