[Zope3-Users] Unknown directive: class !!!

Martin Aspeli optilude+lists at gmail.com
Sat Apr 4 23:52:13 EDT 2009


Andreas Jung wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Never heard or seen a zcml 'class' tag. Do you mean 'content'?

AFAIK, <content /> is deprecated in favour of <class />. We use it in 
Plone for example (from plone.app.contentrules):

      <class class="Products.CMFPlone.Portal.PloneSite">
         <implements 
interface="plone.contentrules.engine.interfaces.IRuleAssignable" />
     </class>

Martin

-- 
Author of `Professional Plone Development`, a book for developers who
want to work with Plone. See http://martinaspeli.net/plone-book



More information about the Zope3-users mailing list