[Zope] dtml-if for a boolean property
Dieter Maurer
dieter@handshake.de
Mon, 2 Jul 2001 21:43:40 +0200 (CEST)
Leigh Ann Hildebrand writes:
> When I tried to use your suggestion, I generate *no* list at all in any
> directory with a file with an index_hide property set.
That's sign of a real master :-)
It would take me hard to obtain this behavior ;-)
The following works for me (the way you want it to work):
<dtml-in objectValues>
<dtml-unless hide>
&dtml-id; &dtml-absolute_url;<br>
</dtml-unless>
</dtml-in>
Dieter