[Zope3-Users] required attributes of menuItem

Florian Lindner mailinglists at xgm.de
Sun Mar 6 15:19:25 EST 2005


Hello,
I'm defining a menuItem:

    <menuItem
        action="folderlisting.html"
        menu="navMenu"
        title="Global Menu" />

giving all the attributes that are required.

But opon startup zope prints:

zope.configuration.xmlconfig.ZopeXMLConfigurationError: File 
"/home/florian/Desktop/zope/etc/site.zcml", line 7.2-7.55
    ZopeXMLConfigurationError: File 
"/home/florian/Desktop/zope/etc/package-includes/cs-configure.zcml", line 
1.0-1.24

    ZopeXMLConfigurationError: File 
"/home/florian/Desktop/zope/lib/python/CS/configure.zcml", line 3.1-3.28

    ZopeXMLConfigurationError: File 
"/home/florian/Desktop/zope/lib/python/CS/skin/configure.zcml", line 
30.4-33.30

    TypeError: menuItemDirective() takes at least 5 non-keyword arguments (2 
given)


Using a few days old version of the trunk.

Adding a for="*" makes it working.

Thx,

Florian


More information about the Zope3-users mailing list