[ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Dynamic Content with DTML
webmaster@zope.org
webmaster@zope.org
Sat, 21 Sep 2002 21:00:42 -0400
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/DTML.stx#2-82
---------------
*If* tags be nested to any depth, for example, you could have::
<p>Are there too many blue monkeys?</p>
<dtml-if "monkeys.color == 'blue'">
<dtml-if expr="monkeys > monkey_limit">
<p>There are too many blue monkeys!</p>
</dtml-if>
</dtml-if>
% Anonymous User - July 10, 2002 4:05 am:
If tags be nested -> If tags *can* be nested
% Anonymous User - July 18, 2002 12:57 pm:
is the tag <dtml-if "monkeys.color == 'blue'"> really valid, or the attribute expr need to be added inside?
% Anonymous User - Sep. 21, 2002 9:00 pm:
If its in quotes, its in python like in 'expr="..."'