[Zope] total number of batches (pages)

Dieter Maurer dieter@handshake.de
Mon, 29 Apr 2002 22:24:35 +0200


Trevor Toenjes writes:
 > Is there a built-in to determine how many batches(pages) are returned from a
 > query?
There are "dtml-in" defined variables "next-batches" and "previous-batches"
(or similar) that contain the sequence of next or previous batches, respectively.
You can ask them for their length...

As often: see

  <http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html>



Dieter