[Zope] PARENTS and the with tag

Alice Gutman aliceg@rescomp.berkeley.edu
Sun, 7 Nov 1999 18:43:37 -0800 (PST)


Hi,

I'm having some scoping issues with PARENTS.  It doesn't seem to
acknowledge with tags or anything else.  For example, if I have the
folder hierarchy:
A
  B
    C
  D
    E

and in the index_html document of C I say:
<dtml-with E>
<dtml-in PARENTS>
<dtml-var "_['sequence-item'].id"><br>
</dtml-in>
</dtml-with>

it produces:
C
B
A

when I actually want:
E
D
A

And if I say:
<dtml-var "E.PARENTS">

then I get an error message.

What am I doing wrong?  Is there an easy way to make it behave like I want
it to?

Thanks in advance,
Alice