[Zope] DTML-tree Custom sort

Andreas Jung lists at andreas-jung.com
Sun Oct 2 12:53:29 EDT 2005



--On 2. Oktober 2005 09:43:02 -0700 Alex Renier <goldenray3458 at yahoo.com> 
wrote:

> <dtml-tree branches_expr="objectValues(['Folder'])"
> sort="orderInt" skip_unauthorized>


perhaps

<dtml-tree branches_expr="[o for o in objectValues(['Folder'] if 
hasattr('orderInt')])"
sort="orderInt" skip_unauthorized>

-aj


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20051002/0408c912/attachment.bin


More information about the Zope mailing list