[Zope] lateral aquisition
Chris Withers
chrisw@nipltd.com
Thu, 09 Mar 2000 16:46:53 +0000
<dtml-var "parents[1].test2.index_html">
would get index_html from ../test2 in a dtml document in ../test1
<dtml-var "parents[0].test2.index_html">
would get index_html from ../test2 in a dtml method in ../test1
There are other postings on why there is a difference between documents and
methods if you care...
cheers,
Chris
Tom Scheidt wrote:
>
> 2 folders are next to each other, one is called test1 the other test2. They
> are within the same Home folder, but one is not within the other. Can an
> index_html document in test1 grab a dtml-var from test2? How is this done?
> In html i would simply write ../test2/dtml-var. This does not work in Zope.
>
> *************************
> Tom Scheidt
> www.falsemirror.com
> tom@falsemirror.com
> *************************
>
> _______________________________________________
> 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 )