[Zope] FOR loops?
Andy Gates
Andy.Gates@bristol.ac.uk
Fri, 30 Jun 2000 11:42:28 +0100
This ought to be easy:
<dtml-in> through a list of entries. Each entry has a string and a
number which indicates its level of indentation, so "Root",0; "Main",1;
"Sub",2 and so on.
Presenting these in a SELECT input I want to show the indentation so
it's easy to see and use. Obvious answer is to use characters
to pad the values thus:
<select>
<dtml-in sequence>
<option value="whatever">
<for loop=0 to entry-indent-value>
</for>
<entry-string-value>
</dtml-in>
</select>
So where does Zope hide its FOR loop? Can't find the bugger anywhere!
----------------------
Andy Gates, Learning and Research Technology
Andy.Gates@bristol.ac.uk - ICQ#74362415