[Zope] Iterating over folders with a certain attribute

Jim Cain jec@mgmt-inc.com
Wed, 16 Jun 1999 00:17:17 -0400


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



    ____________       Jim Cain, System Administrator     ___
   /  ________  \         http://jec.mgmt-inc.com        /  /
  /  / ______ \  \   _________   _______   _________  __/  /__
 /  / /  __  \ \  \ /  _   _  \ /  ___  \ /  _   _  \/_   ___/
/  / /  /_/  / /  //  //  //  //  /__/  //  //  //  / /  /___
\  \ \___,_  \/  //__//__//__/ \____   //__//__//__/  \_____/, inc.
 \  \______\____/             _____/  /
  \_______/                   \______/  http://www.mgmt-inc.com