[Zope] Deriving ZClasses from Other Product's ZClasses

Dieter Maurer dieter@handshake.de
Tue, 14 Aug 2001 21:30:27 +0200 (CEST)


Ronald L. Chichester writes:
 > Can you derive a ZClass in one product from a base class in another
 > (separate) product?
In principle, this is possible.

However, there are rumors (--> searchable mailing list archives)
that the inheritance breaks when the product is exported
and later reimported.

The reporter concluded: effectively unusable.

 > Which begs the next question...
 > 
 > Can you search for multiple classes by searching for the base class. 
There is no buildin for this.
But it would be possible to define such a search mechanism.

You would use "ZopeFind" on the "Products" folder to locate
all ZClasses and then look whether the sequence of bases
contain the one you are searching for.



Dieter