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

_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to