4 May
2001
4 May
'01
2:25 p.m.
"bak (kedai)" wrote:
Assuming version 2.3, try:
<dtml-in expr="subdir.objectValues()" sort_expr="bobo_modification_time()">
since it is a method.
hth,
what's the difference between using sort and sort_expr? the sort=something has been there since forever :) and i have been using it in my codes. is it something bad?
thanks
No, that should work. The lack of quotes tells Zope it is a named attribute, so it will call it properly when it is a method like above. sort_expr lets you sort by a Python expression. You way is probably best though in this case. -- | Casey Duncan | Kaivo, Inc. | cduncan@kaivo.com `------------------>