[Zope] accessing zclass properties

Dieter Maurer dieter@handshake.de
Sat, 8 Feb 2003 12:20:24 +0100


Rocky Burt wrote at 2003-2-6 17:22 -0500:
 > I have ZClass MyZClass in product MyProduct.  MyZClass defines property 
 > sheet MyZClass_properties.  One of the properties is a list (named
 > 'MyList')  with values 1, 2, 3 (3 numbers).
 > 
 > I need to access that list from my TTW python script elsewhere in the
 > system.  I've noticed that I can't import "Products.MyProduct".
Try to access it via "container.Control_Panel.Products.MyProduct....".

Look at the URL used in the ZMI to find out the correct path.


Dieter