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

2000-12-02 Thread Jim Welch
That did it. Thanks. Jim Washington <[EMAIL PROTECTED]> writes: > 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. __

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

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

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 par

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 o

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

[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