5 Mar
1999
5 Mar
'99
9:45 p.m.
I need to detect not only whether a list is empty (that's easy with the #if tag for example), but also whether all of the elements in the list have a property. In Python, one could do this with something like: empty = 1 for element in theList: if not element.hidden: empty = 0 print element if theList and not empty: print "no non-hidden elements" What's the equivalent DTML? Can one create a variable in DTML? Can anyone tell I miss my Python when writing DTML? =)