Thanks for your help AJ I get this: Error Type: SyntaxError Error Value: invalid syntax (line 1) <dtml-tree branches_expr="[o for o in objectValues(['Folder'] if hasattr('orderInt'))]" sort="orderInt" skip_unauthorized> It doesn't like how I put spaces in objectValues() attributes for " if hasattr..." Is the syntax a bit different? Thanks! --- Andreas Jung <lists@andreas-jung.com> wrote:
--On 2. Oktober 2005 09:43:02 -0700 Alex Renier <goldenray3458@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
__________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com