[Zope] ZClass class attributes

Michel Pelletier michel@digicool.com
Tue, 7 Dec 1999 14:12:14 -0500


> -----Original Message-----
> From: Janko Hauser [mailto:jhauser@ifm.uni-kiel.de]
> Sent: Tuesday, December 07, 1999 7:17 AM
> To: itamars@ibm.net
> Cc: zope@zope.org
> Subject: [Zope] ZClass class attributes
> 
> 
> I think you can add a DTML-Document with properties to the ZClass. I
> have the experience that I can change the DD and all instances see
> this. Probably this is also true for the properties of the DD.

Yep.  All instances share that method and its contents and properties.

if you want instances to not have a method as a class attribute, but
rather as a contained object that is different per instance, make the
class an ObjectManager so that it is a container.

-Michel