[Zope] Starting a search from the correct folder

Andreas Jung lists at andreas-jung.com
Sat Jul 2 11:03:06 EDT 2005



--On 2. Juli 2005 15:52:52 +0100 John Poltorak <jp at warpix.org> wrote:

>
>
>> When you are ready to look up (in the hierarchy), then
>>
>>      obj.aq_inner.aq_parent
>>
>> is the hierarchy parent of "obj".
>
> Well that would be useful if I understood what you meant. Is there a
> suggested explanation anywhere with some sample code which uses this
> construct?
>

This construct returns the *hierarchy* parent vs. the *acquisiton* parent.
See Zope Dev Guide for details on Acquistion.

-aj


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20050702/3a292f42/attachment.bin


More information about the Zope mailing list