[Zope] Iterating over folders with a certain attribute
Michel Pelletier
michel@digicool.com
Wed, 16 Jun 1999 09:22:47 -0400
> -----Original Message-----
> From: Jim Cain [mailto:jec@mgmt-inc.com]
> Sent: Wednesday, June 16, 1999 12:17 AM
> To: zope@zope.org
> Subject: [Zope] Iterating over folders with a certain attribute
>
>
> I want to retrieve the names of all folders that have
> attribute sequence_id
> and then iterate over them, while having them sorted by that
> attribute. I
> can't do something like:
>
> <!--#in "objectValues(['Folder'])" sort=sequence_id-->
>
> because not all folders have this attribute. Am I going to
> have to build an
> array of these objects, and then iterate over them sorted?
>
> Thanks for the help,
> Jim
>
http://www.zope.org/pipermail/zope/1999-June/005428.html
>
>
> ____________ Jim Cain, System Administrator ___
> / ________ \ http://jec.mgmt-inc.com / /
> / / ______ \ \ _________ _______ _________ __/ /__
> / / / __ \ \ \ / _ _ \ / ___ \ / _ _ \/_ ___/
> / / / /_/ / / // // // // /__/ // // // / / /___
> \ \ \___,_ \/ //__//__//__/ \____ //__//__//__/ \_____/, inc.
> \ \______\____/ _____/ /
> \_______/ \______/ http://www.mgmt-inc.com
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://www.zope.org/mailman/listinfo/zope
>
> (For developer-specific issues, use the companion list,
> zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
>