14 Oct
1999
14 Oct
'99
10:34 p.m.
David C. Morrill wrote:
showed the problem as well as the more complex form I was actually trying to use:
<dtml-in "PARENTS[0].objectValues(['DTML Document'])"> <dtml-if "_.getitem('sequence-item').hasProperty('isMenu')"> ...do stuff using <dtml-var id>... </dtml-if> </dtml-in>
then try (untested): <dtml-in "PARENTS[0].objectValues(['DTML Document'])"> <dtml-if isMenu> ...do stuff using <dtml-var id>... </dtml-if> </dtml-in> or <dtml-in "PARENTS[0].objectIds(['DTML Document'])"> <dtml-if "_.getitem('sequence-item').hasProperty('isMenu')"> ...do stuff using <dtml-var id>... </dtml-if> </dtml-in> Pavlos