[Zope] listing objects based on their property?

Peter Bengtsson mail@peterbe.com
Mon, 9 Jul 2001 14:22:30 +0200


If it's sorting your thinking of, take a look at the SortEx module. Now an
External Method module downloadable from www.zope.org and will be part of
the Zope core in the near future I believe.

Then you can SortEx(yoursequenceofobjects, (('propertysort',),))

Peter
----- Original Message -----
From: "Ismet Dere" <ismet_dere@yahoo.com>
To: <zope@zope.org>
Sent: Tuesday, July 10, 2001 2:06 AM
Subject: [Zope] listing objects based on their property?


> Hi,
>
> is there any way to list contents of a directory in DTML Method based on
the
> objects property?
>
> for example, a DTML code that will look at a certain
ditectory(dtml-folder)
> and lists the objects that has "menu" property.
>
> ismet
>
>
>
>
>
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )