Andy Gates wrote:
>
> <select>
> <dtml-in sequence>
>   <option value="whatever">
>     <for loop=0 to entry-indent-value>
>       &nbsp;
>     </for>
>     <entry-string-value>
>   </dtml-in>
> </select>
> 
> So where does Zope hide its FOR loop?  Can't find the bugger anywhere!

You already did. <dtml-in> is FOR. As in Python's "for v in list". Use
<dtml-in "_.range(0, _['entry-indent-value']"> </dtml-in>

Phill

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to