[Zope] presenting a list of stuff
Sven Fischer
sven.fischer@gargl.net
Mon, 16 Apr 2001 13:47:56 +0200
hello,
i'd like to know whats the most elegant/practical/usefull way of displying a
list of stuff (that might or might not be there).
i have a zclass with a couple of boolean properties and i'd like to display
a list of *true* items this way :
ItemA,ItemB,ItemD,ItemE. (itemC is false)
i can do it pretty easily with a bunch of dtml-if (but it looks too ugly and
my fingers hurt !) and i can't kill the "," before the last point.
p.s. i would prefer to do it in dtml since this has a lot more to do with
presentation than logic and since the guys who will be coming after me will
be even less python-enabled than i am ;-)
thx,
$ven