28 Mar
2001
28 Mar
'01
3:04 p.m.
<!--#let cor="'FALSE'"--><!--#/let--> <table> <dtml-in "especialidade.objectValues()"> <dtml-if "cor == 'FALSE'"> <!--#let cor="'TRUE'"--><!--#/let--> <tr bgcolor="#EEEEEE"> <dtml-else> <!--#let cor="'FALSE'"--><!--#/let--> <tr bgcolor="#007CC3"> </dtml-if> </dtml-in> </table>
In this case: <dtml-in "especialidade.objectValues()"> <dtml-if sequence-even> <tr bgcolor="#EEEEEE"> <dtml-else> <tr bgcolor="#007CC3"> </dtml-in> See the ZQR (http://www.zope.org/Members/ZQR) for useful <dtml-in> variables Generally, use <dtml-call "REQUEST.set('cor', 'FALSE')"> for something like this Ivan