[ZPT] did something change with tal:attributes?

cccurvey scurvey@nwaf.com
Sat, 06 Apr 2002 14:55:08 -0000


This was working with Zope 2.5.0, now that I've installed 2.5.1b,
things seem to have changed....

<input tal:define="name python:'sec' + str(ticker.number)"
tal:attributes="type text; name name">

about as close as I can get is

<input type="text" tal:attributes="name python:'sec1'">

For anyone who cares, this input tag is in a loop, and what I want the
resulting HTML to look like is:

<input type="text" name="sec1">
<input type="text" name="sec2">
<input type="text" name="sec3">
...