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 <[EMAIL PROTECTED]> wrote:

> 
> 
> --On 2. Oktober 2005 09:43:02 -0700 Alex Renier
> <[EMAIL PROTECTED]> 
> 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
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to