[Zope] Locate an object in zope tree

Chris Withers chrisw@nipltd.com
Wed, 16 Feb 2000 13:46:32 +0000


You'll be wanting

<dtml-with "PARENTS[-1].folder1.object1">

:-)

Chris

Francois-Regis CHALAOUX wrote:
> 
> Hi Zoppers,
> 
> My zope tree is :
> 
> /
> folder1
>   object11
> folder2
>   folder3
>     object31
> 
> How to use objet11 in object31, which path is it?
> I tried <dtml-with "folder1.object11"> but zope can't find this object11 !!
> Certainly an acquisition problem, but in my case I can't assume the position
> of folder1, base or url objects are ineffective when you are deep in the tree.
> 
> Bye, FR.
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> 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 )