This would have turned up the the testing, My normally save is Save/View/Back (if you see what I mean). Blame it on 2 weeks of non-stop C++ programming... My head hurts and the project is only half finished. Adrian... ----- Original Message ----- From: "Shane Hathaway" <shane@zope.com> Newsgroups: zope.dev To: "Adrian Hungate" <adrian@haqa.co.uk> Cc: "Dieter Maurer" <dieter@handshake.de>; "Andy McKay" <andy@agmweb.ca>; "Martijn Jacobs" <mart@eastsite.nl>; <zope-dev@zope.org> Sent: Tuesday, May 07, 2002 10:35 PM Subject: Re: [Zope-dev] Re: ZClasses useful! [Was: ZMI / JavaScript brainstorm]
Adrian Hungate wrote:
Ok, ZPT is easier that DTML? How do you code this in ZPT?
<dtml-in objectIds() sort=id> <dtml-var sequence-item> </dtml-in>
You have some good points, but there's a certain irony in the fact that the above code won't work. You either forgot to quote the "objectIds()" expression, or it shouldn't have parentheses, illustrating the first ugly thing most people run into when learning DTML. :-)
Nevertheless, as you said, ZPT really does need some better way to implement batching and sorting. The need is too common to require external scripts or big Python expressions to do it.
Shane