13 Dec
2006
13 Dec
'06
6:12 p.m.
Hi I want to acquire an persistent zope object (supplier) that is inside my productfolder myproductfolder/supplier How to get a reference to this object? Also, Is there a method to get the product root? I would like to have that all instances of my class can be traversed like prinstance/suppliers The class has to be derived from SimpleItem. What do I have to add to get it work? class PurchaseRequisition( SimpleItem, Implicit ): suppliers = aq_inner(self).aq_acquire(reference_to_container) Dennis