I want to intialize the value of ZTUtils.Iterator and use the value
to increment tabindex attribute  in my ZPT for forms in CMF

Something like:

<div tal:define iterator python:modules['ZTUtils'].Iterator; >
        <div>
                .. html form contents
                   .. a field
<input tal:attributes="tabindex python:Iterator.next() ...
                 ... etc, etc.  
        </div>
</div>

The first part gives me an iterator object. How do I get its value as an integer?
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to