[Zope] ZODB parent
Chris McDonough
chrism@digicool.com
Fri, 23 Feb 2001 00:35:31 -0500
aq_inner.aq_parent will probably work.
----- Original Message -----
From: "Randall F. Kern" <randy@spoke.net>
To: <zope@zope.org>
Sent: Thursday, February 22, 2001 11:54 PM
Subject: [Zope] ZODB parent
Is it possible to get the container (ObjectManager) an Item is in?
aq_parent won't work for me, I need the actual container.
Obviously I could store the path to the OM in the items manage_afterAdd
(although catching changes to the OM might be hard), but I was hoping
for a cleaner solution.
-Randy
_______________________________________________
Zope maillist - Zope@zope.org
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope-dev )