[Zope] DTML-tree Custom sort

2005-10-02 Thread Alex Renier
Hello, I am trying to do a custom sort. I am using: orderInt is an integer property of some folders. I would like the http://mail.yahoo.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML enco

Re: [Zope] DTML-tree Custom sort

2005-10-02 Thread Alex Renier
gt; > --On 2. Oktober 2005 09:43:02 -0700 Alex Renier > <[EMAIL PROTECTED]> > wrote: > > > branches_expr="objectValues(['Folder'])" > > sort="orderInt" skip_unauthorized> > > > perhaps > > sort="orderInt&

Re: [Zope] Re: DTML-tree Custom sort

2005-10-02 Thread Alex Renier
Great thank you both!!! I never knew you could do if-statements like that. --- Chris Beaven <[EMAIL PROTECTED]> wrote: > Alex Renier wrote: > > Thanks for your help AJ > > I get this: > > > > Error Type: SyntaxError > > Error Value: invalid syn

[Zope] Accessing CURRENT property

2005-10-03 Thread Alex Renier
Hello, if I have a folder1 in a folder2 and my folder 1 has a certain property. If I want to know if folder2 has the property I use hasattr() method on folder2, but it returns true because it looks down the hierarchy and sees the property in folder1. is there a way to check for the property in fo