24 Feb
2001
24 Feb
'01
10:08 p.m.
Oliver Vecernik writes:
I have following DTML method for a sidebar construction: <ul> <dtml-in expr="objectValues('Folder')" sort="_.[sort]"> <li><a class="sidemenu" href="&dtml-absolute_url;"><dtml-var title_or_id></a><br></li> </dtml-in> </ul> "sort" interprets its value as a list attribute names separated by ','. In your example, it would use the attribute with the literal name "_.[sort]". But you want "_.[sort]" evaluated and use the result as sort specification. You can do that with "sort_expr" (rather than "sort").
Dieter