19 Jul
2005
19 Jul
'05
10:18 p.m.
On 7/19/05, David Pratt <fairwinds@eastlink.ca> wrote:
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>
Don't you need to create it with a sequence like <div tal:define iterator python:modules['ZTUtils'].Iterator(range(100)); > -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com