[z3-five] AddMenuItem in five
eXt
restless.being at gmail.com
Tue Sep 12 15:15:33 CEST 2006
Dnia wtorek, 12 września 2006 09:29, Daniel de la Cuesta napisał:
> 3.- In my configure.zcml I have:
(...)
> <five:implements
> class="Products.MyProduct.main_module.MainModule"
> interface="Products.MyProduct.main_module.MainModule"
> />
This part is not neccessary. You already have:
class MainModule(Folder):
"""MainModule"""
implements(IMainModule)
(...)
What's more there is a typo in your five:implements, you used MainModule and
it should be IMainModule.
Your problems may also be caused by the lack of such zcml snippet:
<five:traversable class=".main_module.MainModule" />
HTH
--
eXt
More information about the z3-five
mailing list