[Zope] Re: Attribute Error while adding ZSearch Interface

Maik Jablonski maik.jablonski@uni-bielefeld.de
Thu, 24 Apr 2003 09:06:51 +0200


Shashank Ashtikar wrote:
> 	But now I have a problem if, I  inherit a class from ZCatalog doesnt 
> that mean that this class is catalog aware.

No. You have to inherit form CatalogPathAwareness.CatalogPathAware. Have 
a look at lib/python/Products/ZCatalog/CatalogPathAwareness.py.

> I thought that since the class is 
> catalog aware it should work with the form. Any way to me it looks like some 
> bigtime confusion on my part. Guess it's time to read the Zope Book again ;-).

Reading the Zope-Book is a good idea, but maybe you should read the 
Developers-Guide as well.

-mj