[Zope] CatalogAware

Loren Stafford lstaffor@dynalogic.com
Wed, 23 Feb 2000 09:59:24 -0800


If you have a non-default catalog ID, you have to do something special in
the manage_add method. It's documented in the How-To on creating a
catalog-aware Zclass. http://www.zope.org/Members/AlexR/CatalogAware

-- HTH
-- Loren

----- Original Message -----
From: Tom Deprez <tom.deprez@uz.kuleuven.ac.be>
To: <zope@zope.org>
Sent: February 23, 2000 09:08 AM
Subject: [Zope] CatalogAware


> I've a problem which I can't solve.
>
> I made a small ZClass and has CatalogAware as base class.
>
> However, when I add an instance of this ZClass in a folder, and when I've
a
> ZCatalog (id: TestCatalog) then this instance isn't added in the list of
> 'TestCatalog'. I thought that a CatalogAware Class just could do this...
>
> a) Am I missing here something?
> b) I'm not quite sure, but is this adding to a Catolog done automatically
> or do you have to specify somewhere in which catalog instance (here
> TestCatalog) the object has to be listed? How can I do this?
>
> Thanks in advance,
>
> Tom.
>
> _______________________________________________
> 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 )
>