[Zope] ZClasses & inheriting property(sheets) : yes/no?

Jim Washington jwashin@vt.edu
Fri, 01 Dec 2000 13:53:04 -0500


Hi,

Your name is zope?

There is no need for an acquiring or containment relationship.

What has worked for me:

-Product main folder
 |-virtualclass
 |-descendentclass1
 |-descendentclass2

where descendentclass1 and descendentclass2 are both descended from
virtualclass. i.e, virtualclass shows up in both descendentclasses'
"basic" tab as a Base Class.  This was established in the "base Classes"
area when the ZClasses were created.

Ooh.  I just checked, and this is probably what you are looking for: The
property sheet will not show up in the descendents' view method list
unless the base class also has a view established of the property sheet.

hth,

-- Jim Washington

zope@concision.com wrote:
> 
> I've been struggling with this problem myself. In particular I can't
> get the parent propertysheet management method to appear on the Views
> method list. Is it necessary that the subclass also be contained in
> the parent? In my design, there is no containment or acquiring
> relationship between the parent class and the subclass.