[Zope] acquisition

Dennis Schulz d.schulz81 at gmx.net
Wed Dec 13 13:12:13 EST 2006


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



More information about the Zope mailing list