[ZDP] BackTalk to Document The Zope Book (2.6 Edition)/Appendix A: DTML Reference

webmaster at zope.org webmaster at zope.org
Fri Jan 30 05:49:23 EST 2004


A comment to the paragraph below was recently added via http://zope.org/Documentation/Books/ZopeBook/2_6Edition/AppendixA.stx#3-81

---------------

      Creating alternate colored table rows::

        <table>
        <dtml-in objectValues>
        <tr <dtml-if sequence-odd>bgcolor="#EEEEEE"
            <dtml-else>bgcolor="#FFFFFF">
            </dtml-if>
          <td><dtml-var title></td>
        </tr>
        </dtml-in>
        </table>

        % Anonymous User - Jan. 30, 2004 5:49 am:
         the closing '>' for '<tr' should be located after the '</dtml-if>' and not behind the '...FFF"' ! (pius)



More information about the ZDP mailing list