[Zope] ZTUtils.Iterator value in ZPT
Chris Withers
chris at simplistix.co.uk
Wed Jul 20 02:51:15 EDT 2005
David Pratt wrote:
> <div tal:define = "tabindex python:Iterator(range(100));">
>
> <div>
> .. html form contents
> .. a field
> <input tal:attributes="tabindex/next ...
> ... another field
> </div>
What are you actually trying to do here?
Would the following work?
<div tal:define = "tabindex python:range(1,101);">
<div>
.. html form contents
.. a field
<input tal:attributes="tabindex ...
... another field
</div>
cheers,
Chris - who has no idea what a ZTUtils.Iterator is supposed to do...
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
More information about the Zope
mailing list