29 Apr
2002
29 Apr
'02
3:32 a.m.
Is there a built-in to determine how many batches(pages) are returned from a query? or do I have to ... batch_size_max=sequence-step-size batches_total="(_.len(results)-1)/batch_size_max+1" Thanks, Trevor
29 Apr
29 Apr
8:24 p.m.
New subject: [Zope] total number of batches (pages)
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
8742
Age (days ago)
8742
Last active (days ago)
1 comments
2 participants
participants (2)
-
Dieter Maurer -
Trevor Toenjes