Please stay on the list! Readded... Allen Huang wrote at 2005-5-8 11:10 -0700: >Thanks for responding, but what is "aq_inner.aq_explicit"??
To understand "aq_inner" and "aq_explicit", you need to understand acquisition. You find something in the "Name lookup" section of <http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html> and in Jim's acquisition talk (which your probably can locate via a search for "Jim Fulton acquisition containment before context"). Once you understood acquisition, you know "aq_self", "aq_parent" and implicit and explicit acquisition wrappers. Now, you can understand "aq_inner" and "aq_explicit". To determine "aq_inner" from an acquisition wrapper, you follow its "aq_self" recursively, until "aq_self" is not an acquisition wrapper. The "aq_explicit" attribute of an acquisition wrapper returns an explicit acquisition wrapper with the same "aq_self" and "aq_parent". -- Dieter _______________________________________________ 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 )