[Zope] Add properties to ZClass instance?

Dieter Maurer dieter@handshake.de
Fri, 30 Mar 2001 21:05:32 +0200 (CEST)


Paul Godley writes:
 > I've got a ZClass to which I'd like to add (variable) properties when
 > the instance is created. I made a "Basic" propertysheet and tried
 > "manage_addProperty" but Zope reports that properties cannot be added. I
 > can add properties to DTML Documents.
I think, you need to use the PropertySheet interface
(Zope Help->API Reference->PropertySheet) to add
properties to a property sheet.


Dieter