[Zope] dtml-in and batches
Michel Pelletier
michel@digicool.com
Fri, 17 Sep 1999 11:17:17 -0400
> -----Original Message-----
> From: Duncan Booth [mailto:duncan@rcp.co.uk]
> Sent: Friday, September 17, 1999 7:31 AM
> To: zope@zope.org
> Subject: [Zope] dtml-in and batches
>
>
> I may be missing something obvious here, but if I use the in tag to
> iterate over a list in several batches, how can I easily work
> out what
> *all* the batches are.
Get the _.len(ObjectValues(...)) and divide by your batch size.
-Michel