19 Jul
2005
19 Jul
'05
7:36 p.m.
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?