[Zope-dev] dtml-in: next-batches

Dieter Maurer dieter@handshake.de
Fri, 2 Mar 2001 21:44:28 +0100 (CET)


Brett Carter writes:
 > I'm running Zope 2.2.2, and I'm trying to use the batching stuff for
 > the dtml-in tag, however, I can't seem to access any attributes off
 > the 'next-batches' or 'previous-batches' mapping object that's
 > supposed to be available, with the attributes 'batch-start-index',
 > 'batch-end-index', and 'batch-size'.
 > ....
 > I wrote an external method to dir the 'next-batches' object, and it
 > seems the only attributes available are:
 > ['data', 'items', 'query_string', 'start_name_re']
The attributes your are looking for are in fact keys
of the mapping 'data'.


Dieter