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'.  However, my example code (see
below) blows up with a key error when trying to access any of these.
Is this a bug, or am I just misunderstanding how to use this thing?

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']

<dtml-in "mystuff.retseq()" size=5 start=start>
 <dtml-var sequence-item>
</dtml-in> </p>

<dtml-in "mystuff.retseq()" size=5 start=start previous>
 <a href="<dtml-var absolute_url>/batch_me?start=<dtml-var 

<dtml-in "mystuff.retseq()" size=5 start=start next overlap=-1>
    <dtml-in next-batches>
      <dtml-var batch-start-index><br>
   <dtml-var error_type><br>
   <dtml-var error_value><br>
   <dtml-var error_tb><br>
 <a href="<dtml-var absolute_url>/batch_me?start=<dtml-var 


Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to