[Zope-dev] ZClass and ZCatalog

Marco Nova nova@tera-it.com
Thu, 5 Jul 2001 14:56:43 +0200


> Rename the catalog from 'events' to 'Catalog' and 
> CatalogAwareBase should
> start working.

No, it doesn't work. I read from an HOW-TO that the problem may reside
(beside the name of the catalog) that the first base class id JCObject and
not CatalogAwareBase.
Is it true ?

- mn

P.S.

I'm using Zope 2.3.3 on windows, binary release.

> -----Original Message-----
> From: Marco Nova [mailto:nova@tera-it.com]
> Sent: Thursday, 05 July 2001 09:47
> To: zope-dev@zope.org
> Subject: [Zope-dev] ZClass and ZCatalog
> 
> 
> Hello Guys,
> 
> I've a problem with a ZClass (JCEvent) I've created and ZCatalog.
> Base classes for JCEvent are: ZObject, JCObject, CatalogAwareBase.
> JCObject is another ZClass whose base class is ZObject.
> 
> Instances of JCEvent are added to a ZCatalog but they are not 
> automatically
> indexed by the catalog. The catalog is named 'events'.
> How can I automaticallly index them ?
> 
> 
> Thanks,
> 
> - mn