7 Jun
2001
7 Jun
'01
3:51 p.m.
Evan Simpson wrote:
From: "Chris Withers" <chrisw@nipltd.com>
Say I want to build something like this:
<<< Showing 4 to 10 of 400 >>>
Then you would probably find the Batch class from ZTUtils valuable.
Is it documented anywhere? Can I import it into a PythonScript?
all of the fancy features of dtml-in, but it is much simpler. You pass the sequence and batching parameters to the Batch constructor, and get an object that you can iterate over normally (using dtml-in or Python for:). Given Batch instance "b":
Cool. :-) BUT, given that we've been told DTML isn't going away, this bug stands, IMHO... cheers, Chris