[Zope] dtml-tree
Dieter Maurer
dieter@handshake.de
Tue, 6 Mar 2001 21:20:48 +0100 (CET)
nuno writes:
> This is a multi-part message in MIME format.
>
> ------=_NextPart_000_00D4_01C0A63D.9CE3BB00
> Content-Type: text/plain;
> charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
Please, do not post MIME messages!
> i have tried something like this:
>
> <dtml-with "PARENTS[0].SITE.DIR1.DIR2"> -> Path from where i want to =
> show the structure
> <dtml-var browse> -> the DTML-method that does the display of the =
> tree
> </dtml-with>
>
> the funny thing is that, if i do a view in zope of the DTML-method =
> browse directly it works, but it=20
> fails when i call the method from other place.
>
> Has anyone had a similar problem ?
If you call it from somewhere else, the "PARENTS[0]" may be different
and "SITE.DIR1.DIR2" no longer accessible...
What problem do you see (exception or wrong result or whatever)?
Dieter