[Zope] Need ZCatalog help

Kevin Dangoor kid@kendermedia.com
Fri, 10 Sep 1999 15:12:58 -0400


-----Original Message-----
From: John Goerzen <jgoerzen@complete.org>
To: Martijn Pieters <mj@antraciet.nl>
Cc: zope@zope.org <zope@zope.org>
Date: Friday, September 10, 1999 2:32 PM
Subject: Re: [Zope] Need ZCatalog help


>Martijn Pieters <mj@antraciet.nl> writes:
>
>> > > Yes, make sure that CatalogAware is the first object in the list!
This is
>> > > important.
>> >
>> >This is very strange.  It won't let me!
>>
>> You can't make a new class that has CatalogAware as the first parent?
>
>Correct.  I go in and select CatalogAware as the only Base class.  But
>then, in that object, the Basic tab says the Base classes are
>"ZObject, _ZClass_for_CatalogAware".  So, ZObject is first, followed
>by this strange _ZClass_for business.

This is actually correct. ZObject will always come first. The important
thing is that you select CatalogAware as the first one.
(_ZClass_for_CatalogAware should be second in the list of Base classes). I
think the reason they asked in the first place is that it is easy to select
"Object Manager" and then select "CatalogAware", which is a combination that
doesn't work.

So you're fine on this part...

Kevin