[Zope] catalog-aware z-classes

douwe@oberon.nl douwe@oberon.nl
Wed, 3 Jul 2002 14:41:24 +0200


Hi,

Why not store them in the same catalog and filter on meta_type when
searching?
Anyway, I don't think there is a problem storing ZClass instances in a
Catalog
named other then Catalog, except for that it won't happen automatically,
you'll
have to do it yourself.

Douwe

> -----Original Message-----
> From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Ben
> Avery
> Sent: Wednesday, July 03, 2002 2:14 PM
> To: zope@zope.org
> Subject: [Zope] catalog-aware z-classes
>
>
> Hi,
>
> I need to create a number of z-classes to represent objects, and want
> them to be catalog aware, with each having its own catalog.
> The example in the Zope book requires the catalog to have the id
> 'Catalog' or it won't work, as this is the default for ZCatalog-aware
> objects.
> But I'll need different ids, as I have more than one catalog. How can I
> override this default?
>
> thanks,
>
> Ben Avery
>
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>