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.
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 )
participants (2)
-
Chris Withers -
Francois-Regis CHALAOUX