Marco Mariani writes:
 > <dtml-in "store.fileValues()" sort=id>
 > 
 > where "id" is a filename representing a number.
 > Of course, sort uses it like a string and sorts it wrong.
 > 
 > Maybe, since sortexpr= is not implemented (yet?) I could
 > get away with:
 > 
 > <dtml-in "_.map(_.int,store.fileValues())" sort=id>
 > 
 > but _.map doesn't exist (nor _.lambda. Why?)
You would not need _.lambda.
"lambda" is not a function but a keyword in Python expressions.
It, therefore, is not required in "_" to be used.



Dieter

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
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 )

Reply via email to