[Zope] FOR loops?
Andrew Kenneth Milton
akm@mail.theinternet.com.au
Fri, 30 Jun 2000 21:14:06 +1000 (EST)
+----[ Andy Gates ]---------------------------------------------
| This ought to be easy:
...
| 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:
You have to drop to the python level I'm afraid...
|
| <select>
| <dtml-in sequence>
| <option value="whatever">
| <for loop=0 to entry-indent-value>
<dtml-in "_.range(entry_indent_value)">
|
</dtml-in>
| </for>
| <entry-string-value>
| </dtml-in>
| </select>
|
| So where does Zope hide its FOR loop? Can't find the bugger anywhere!
You can find these things... you just have to know what you're looking for...
--
Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton
The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 |
ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon
PO Box 837 Indooroopilly QLD 4068 |akm@theinternet.com.au|