one thing i notice right off the bat is that you are setting the color after you close your let. i've not tried it, but would this work? <dtml-let cor="'TRUE'"> <tr bgcolor=#EEEEEE> </dtml-let> ciao! greg. Gregory Haley DBA/Web Programmer Venaca, LLC.
<!--#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>
How can I make this work?
Thanks. ________________________________________________ Don't E-Mail, ZipMail! http://www.zipmail.com/
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )