[Zope] Variables...

After Dark afterz@zipmail.com
Wed, 28 Mar 2001 09:46:03 -0500


Hello... 
I am trying to assign a value to a variable, but I`m having
problems with it.
I just want to make a table with diferent colors... like the
example:

<!--#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/