[Zope] Sort variable within the 'IN' tag

Quinn Dunkan quinn@challenge.calarts.edu
Mon, 19 Apr 1999 12:59:38 -0700


> Thanks Amos for reading the posted questions more carefully than I do.
> 
> Another limitation/feature I encountered when using the sort option is
> that if any of the iterated objects does not contain the attribute
> specified with the sort option then an error is raised. It would be nice
> if there was an option to skip such objects. Does anyone know of way to do
> this in simple DTML? Until now I have been using external methods to
> filter out inappropriate entries.
> 
> Pavlos 

In the same vein, if you do

<!--#in spam sort=title mapping -->

ZT will look for spam[x].title, instead of spam[x]['title'], as the mapping
keyword implies.