30 Mar
2001
30 Mar
'01
9:52 a.m.
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.
Can you construct a ZClass such that you can add properties to an instance, both via management screens and programatically?
Hi Paul, to learn a little bit about ZClasses I found http://www.zope.org/Members/kedai/BuildSimpleZClass very helpfull. It teaches you how to build a ZClass and the process to build a management screen to add the properties via the constructor. cheers, oliver