25 Mar
2002
25 Mar
'02
3:56 p.m.
Geoff Armstrong wrote:
Hi,
I have a need to modify a Zope product so that at least one of it's classes becomes catalog aware.
It is not difficult. The ZClass documentation is valid for a python product, too: You need to: 1. Subclass from CatalogAware: "class myClass(..., CatalogAware)" 2. insert default_catalog="yourCatalog" to your Class you want to index. 3. call self.index_object() every time you change your data I hope I have not forgotten a step thomas