[Zope] Re: repeat variable problem

Evan Simpson evan@4-am.com
Fri, 27 Jun 2003 10:55:17 -0500


Fernando Martins wrote:
> and this one does not??
> 
> <tr tal:repeat="msg msg_list" tal:attributes="bgcolor
> python:test(repeat['msg'].even, here.tablecolor4, here.tablecolor3)">

'even' is a method, so this needs to be "repeat['msg'].even()".

Cheers,

Evan @ 4-am