[Zope] DTML-tree Custom sort
Alex Renier
goldenray3458 at yahoo.com
Sun Oct 2 12:43:02 EDT 2005
Hello,
I am trying to do a custom sort. I am using:
<dtml-tree branches_expr="objectValues(['Folder'])"
sort="orderInt" skip_unauthorized>
orderInt is an integer property of some folders. I
would like the <dtml-tree tag to look up the property
of the current folder and sort based on the integer
value, but if the property does not exist I would like
it to be excluded from the tree. Is there a way to do
it?
Thanks for any help!
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
More information about the Zope
mailing list