[Zope3-Users] z3cformdemo w/zopeproject
Tim Cook
timothywayne.cook at gmail.com
Sat May 31 08:16:41 EDT 2008
In the zopeproject instructions for adding dependencies the indication
is that (once the egg is installed) I would just have to add it to the
configure.zcml
But ...
<!-- Add your own component registrations here -->
<include package="z3c.formdemo" />
yields this configuration error:
ZopeXMLConfigurationError: File
"/home/tim/buildout-eggs/z3c.formdemo-1.5.1-py2.4.egg/z3c/formdemo/configure.zcml", line 11.2-11.29
ZopeXMLConfigurationError: File
"/home/tim/buildout-eggs/z3c.formdemo-1.5.1-py2.4.egg/z3c/formdemo/skin/configure.zcml", line 22.2
ConfigurationError: ('Unknown directive',
u'http://namespaces.zope.org/browser', u'zrt-resource')
I looks like zrt-resource and everything else that z3c.formdemo needs is
defined in application.zcml but is not it isn't registered in
z3c.formdemo/configure.zcml So now I added it to my
zopeproject/configure.zcml
<!-- Add your own component registrations here -->
<include package="z3c.formdemo" file="application.zcml"/>
<include package="z3c.formdemo" />
File
"/home/tim/buildout-eggs/z3c.formdemo-1.5.1-py2.4.egg/z3c/formdemo/application.zcml", line 23.2-23.47
<browser:menu id="zmi_views" title="Views" />
File
"/home/tim/buildout-eggs/zope.app.zcmlfiles-3.4.3-py2.4.egg/zope/app/zcmlfiles/menus.zcml", line 5.2-9.8
<menu
id="zmi_views"
title="Views"
description="Menu for displaying alternate representations
of an object"
/>
So by now I am certain that there is something very fundamental about
this third-party registration process that I don't understand.
Any help is appreciated.
--Tim
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://mail.zope.org/pipermail/zope3-users/attachments/20080531/67ad5485/attachment.bin
More information about the Zope3-users
mailing list