[Zope] ZClasses and properties

Richard Jennings rjennings@stradefi.com
Thu, 15 May 2003 15:02:57 +0200


Zope 2.6 on SuSE 8.2 Linux

I have created a ZClass with ObjectManager and CatalogPathAware base classes.
In this class I have created a propertysheet named 'control'.  The idea is to have
instances of this ZClass inherit the control properties for use by python scripts -
and there's my problem:

context.test.propertysheets.control.hasProperty('processX') -> returns the properties
context.test.hasProperty('processX') -> does not

As far as I can tell all permissions are correct.

Can somebody tell me why the 2 statements do not return the same result?

I need to be able to access properties with a common id in propertysheets with
diverse ids.  How should I do this?