Hi Andy,

Zope, and python for that matter, have no for loops ;-)

Try this (untested, someone please correct errors ;-):

I'm assuming stringthing (eg "Root") and numberthing (eg 0) are
attributed of the objects in your sequence list.

<select>
<dtml-in sequence>
  <option value="<dtml-var stringthing>">
    <dtml-var "'&nbsp;' * numberthing">
    <dtml-var numberthing>
  </option>
</dtml-in>
</select>

cheers,

Chris

_______________________________________________
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