[Zope] PythonMethod and accessing objects in the ZODB
   
    Hannes Grund
     
    grund@zblmath.FIZ-Karlsruhe.DE
       
    Tue, 7 Nov 2000 18:26:42 +0100
    
    
  
I'm using the PythonMethod product (latest Version) and Zope2.2.2.
The method lives inside a ZClass, which has an common instance 
propertysheet. Also the method gets an 'self' as argument.
  
Question 1:
How do i access the attributes stored within this propertysheet 
within the method,
while self.title and self.id gives the desired results. 
self.propertysheet.propertyname (among other experiments) 
raises an error.
Question 2:
How do I access objects stored elsewhere in the ZODB,
for example
self.REQUEST....path_to_object.object 
will raise an error......
Thanks in advance.
Hannes.