[Zope] Arrggh, more namespace confusion ...
Darran Edmundson
Darran.Edmundson@anu.edu.au
Mon, 14 Feb 2000 12:01:20 +1100
I'm on the tail-end of another 48-hour Zoping marathon but
just when I can see the proverbial light - click(). Arggh.
I've pared my current problem down to:
root
spam (DTML method)
folder1
folder2
where spam contains:
<dtml-var "REQUEST.set('mylist', ['folder1','folder2'])">
<dtml-in mylist>
<dtml-with sequence-item><dtml-var id></dtml-with>
</dtml-in>
My aim is to loop over mylist pushing sequence-item onto
the namespace stack, ie,
<dtml-with folder1><dtml-var id></dtml-with>
<dtml-with folder2><dtml-var id></dtml-with>
I've toyed with every version of the <dtml-with> tag I
can imagine but to no avail. Can someone please explain
the source of my confusion.
Cheers,
Darran.