5 May
2000
5 May
'00
9:42 a.m.
Markus Hochreiter wrote:
hi,
i have created a searchable adressbook in zope, where you can insert data without using the management screen. after inserting a new person in the adressbook i can not search in the catalog, i get no result. after updating the catalog in the management screen, the search function is fixed and i can search!
I haven't looked at the attachement, but can you quickly check if the class of objects you want searchable has 'CatalogAware' as a base class? If you want objects to be automatically added to the catalog when they are added or changed you need to make CatalogAware a base class. Otherwise you have to manually find and add objects through the management interface of ZCatalog. HTH, Shalabh