[z3-five] Azax Error looking for directive
Tres Seaver
tseaver at palladion.com
Fri Nov 24 18:25:34 CET 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dennis Schulz wrote:
> I am getting this error when installing Azax on Plone 2.5.1, Zope 2.9.5,
> Five 1.4.2.
> What do I have to do to register the new directive?
>
>
> ZopeXMLConfigurationError: File
> "C:\PLONE\Data\Products\PloneAzax\configure.zcml", line 10.4-10.33
> ZopeXMLConfigurationError: File
> "C:\PLONE\Data\Products\PloneAzax\plugins\configure.zcml", line 11.2-11.31
> ZopeXMLConfigurationError: File
> "C:\PLONE\Data\Products\PloneAzax\plugins\legacy\configure.zcml", line 9.4
> ConfigurationError: ('Unknown directive',
> u'http://namespaces.zope.org/azax', u'registerAction')
>
>
>
>
>
>
>
> <configure xmlns="http://namespaces.zope.org/zope"
> xmlns:browser="http://namespaces.zope.org/browser"
> xmlns:azax="http://namespaces.zope.org/azax"
> >
> <!-- reload plugin for content menus -->
>
> <azax:registerAction
> name="bindActionMenus"
> jsfile="reload/bindmenus.js"
> />
>
> <azax:registerAction
> name="initializeCollapsible"
> jsfile="reload/initializeCollapsible.js"
> />
>
> </configure>
You need to include the meta.zcml which defines the directive, e.g.
<include package="path.to.azax" file="meta.zcml" />
Tres.
- --
===================================================================
Tres Seaver +1 202-558-7113 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFZysO+gerLs4ltQ4RAlI3AJ9tllcpv1mWcOV74PBvS0P18A0TzACfRBd2
LfxhOlttEnvW6DOD7KuMjQg=
=nCkr
-----END PGP SIGNATURE-----
More information about the z3-five
mailing list