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

Brett Carter brett@kavi.com
07 Mar 2001 15:12:52 -0800


I tried accessing keys off the 'data' object, and I just get an
'unathorized' error.
-Brett

>>>>> "Dieter" == Dieter Maurer <dieter@handshake.de> writes:

    Dieter> 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']
    Dieter> The attributes your are looking for are in fact keys
    Dieter> of the mapping 'data'.


    Dieter> Dieter