[Zope] zclass propertysheets

Dieter Maurer dieter@handshake.de
Sun, 10 Nov 2002 23:41:11 +0100


Danny Morgan writes:
 > OK, I've upgraded my Zope to 2.6 and it looks like the same error is 
 > occurring...
 > 
 > Problem redescription: I am trying to create a simple zclass for storing 
 > and presenting information about individuals. Within a product 
 > 'sgNiceStreams' is the zclass 'sgPerson_zclass'. sgPerson has a 
 > propertysheet 'contactInfo' and a python script 'getInfo'.
 > 
 > The script has only one line:
 > 
 >      return(context.propertysheets.common.contactInfo.getProperty('email'))
Omit the "common.".

"common" is used inside the ZClass itself but not by the ZInstances.


Dieter