[ZPatterns] DataSkin: attributes defined in a class

Ulrich Eck ueck@net-labs.de
Fri, 13 Jul 2001 19:23:15 +0200


Thanks for all your answers this week ..

I just want to verify that i got this one right:

When I subclass from DataSkin I cannot make use of predefined attributes
e.g. manage_options if there are no AttributeProviders defined (e.g. when
subclassing from that class a ZClass).

after reading sources for a while i found "class_default_for_%s" in 
DataSkin.__getattr__ ..

Is it correct, that if I name an Attribute e.g.

class_default_for_manage_options 

that allways the value from the class-definition is returned when I 
access <instance>.manage_options ??

thanks 

Ulrich Eck