[Zope] repeat variable problem
Fernando Martins
fmartins@hetnet.nl
Fri, 27 Jun 2003 16:21:14 +0200
Hello,
I'm alternating colors in rows of a table using repeat/msg/even.
How come this works
<tr tal:repeat="msg msg_list" tal:attributes="bgcolor
python:test(path('repeat/msg/even'), here.tablecolor4, here.tablecolor3)">
and this one does not??
<tr tal:repeat="msg msg_list" tal:attributes="bgcolor
python:test(repeat['msg'].even, here.tablecolor4, here.tablecolor3)">
This one always give the same color.
Thanks,
Fernando