[Zope] ZODB parent
Dieter Maurer
dieter@handshake.de
Sat, 24 Feb 2001 01:23:58 +0100 (CET)
Randall F. Kern writes:
> 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
Recently, someone has proposed to use the DOM interface for
this purpose: something like "getParentNode".
Dieter