[Zope] Boolean dtml redux

Steve Drees drees@the-bridge.net
Tue, 3 Jul 2001 15:38:47 -0500


> if you insist, try this.
>
> <untested>
>
> <dtml-in expr="_[foldername].objectValues()"
> sort="bobobase_modification_time" reverse>
>   <dtml-unless "_.getitem(_['sequence-item']).index_hide">
>     blah blah blah
>   </dtml-unless>
> </dtml-in>
>
> </untested>

Upon reflection it might work if you make the <dtml-unless > look like this.

  <dtml-unless "_.getitem(id).index_hide">