9 Aug
2002
9 Aug
'02
8:39 p.m.
Alexander M Hottenstein writes:
I am attempting to use several different sorting variables on a dtml-in of one type of object. Depending on several booleens that determine which sorting methods will be used. I know that I cannot use a dtml-if to determine which dtml-in to use, but do not want to have several different blocks of code for each sort that I use. Look at "sort_expr" (a "dtml-in" attribute).
As an example, look at how the ZMI (Zope Management Interface) does this (--> OFS/dtml/main.dtml). Dieter