-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Never heard or seen a zcml 'class' tag. Do you mean 'content'?

- -aj

On 04.04.2009 14:59 Uhr, Chetan Kumar wrote:
> Hi
> On zope3.4.0  this is what I see on "paster serve debug.ini". Trying
> the worldcookery examples (with some changes for my needs)
> ====================portion of the error message========
>     return RootStackItem.contained(self, name, data, info)
>   File 
> "/home/zope3/.buildout/eggs/zope.configuration-3.4.0-py2.5.egg/zope/configuration/config.py",
> line 708, in contained
>     factory = self.context.factory(self.context, name)
>   File 
> "/home/zope3/.buildout/eggs/zope.configuration-3.4.0-py2.5.egg/zope/configuration/config.py",
> line 485, in factory
>     raise ConfigurationError("Unknown directive", ns, n)
> zope.configuration.xmlconfig.ZopeXMLConfigurationError: File
> "/home/zope3/Work/z3w/wc/site.zcml", line 4.2-4.26
>     ZopeXMLConfigurationError: File
> "/home/zope3/Work/z3w/wc/src/wc/configure.zcml", line 8.0
>     ConfigurationError: ('Unknown directive',
> u'http://namespaces.zope.org/zope', u'class')
> ====================
> 
> The relevant configure.zcml is
> ===============configure.zcml===========
> <configure
>     xmlns="http://namespaces.zope.org/zope";>
> <class class=".employee.Employee">
>     <require
>       permission="zope.View"
>       attributes="id first_name middle_name last_name"
>       />
>     <require
>       permission="zope.ManageContent"
>       set_attributes="id first_name middle_name last_name"
>       />
> </class>
> </configure>
> =====================
> Cheers
> _______________________________________________
> Zope3-users mailing list
> Zope3-users@zope.org
> http://mail.zope.org/mailman/listinfo/zope3-users


- -- 
ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany
Web: www.zopyx.com - Email: i...@zopyx.com - Phone +49 - 7071 - 793376
Registergericht: Amtsgericht Stuttgart, Handelsregister A 381535
Geschäftsführer/Gesellschafter: ZOPYX Limited, Birmingham, UK
- ------------------------------------------------------------------------
E-Publishing, Python, Zope & Plone development, Consulting

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAknXmzQACgkQCJIWIbr9KYwGmQCgreTROLRFRU6NjRbPjccifxEB
3zMAoOE1AZGZvmtQ+BQFjTBz4nhkUalA
=KeG7
-----END PGP SIGNATURE-----
begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd. & Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:i...@zopyx.com
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard

_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to