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

2000-12-01 Thread zope
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

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

2000-11-10 Thread Aaron Straup Cope
Hi, If I create a ZClass that inherits another ZClass, do I also inherit the latter's properties/propertysheet? From what I've read so far, I thought the answer was yes but I can't seem to figure out how to *get* at them. I created a ZClass called "Foo" that inherits a ZClass named "Meta". Meta

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

2000-11-10 Thread Jim Washington
Hi, Aaron Yes. If your parent ZClass is constructed properly, you should be able to add the parent class's management tabs by setting a "view". On the "Views" tab, look in the Method list for propertysheets/[ParentClassPropertySheetName]/manage. The properties on that sheet are accessible just

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

2000-11-10 Thread Aaron Straup Cope
Thanks! I have a new question that may (?) be the same old one in a different form: The idea is to have two ZClasses, say Foo and Bar. Bar is a nested class of Foo. The Foo object should be able create n instances of the Bar objects and the Bar object should also be able to create n instances