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

2001-03-08 Thread Dieter Maurer
Brett Carter writes: > I tried accessing keys off the 'data' object, and I just get an > 'unathorized' error. > Dieter> The attributes your are looking for are in fact keys > Dieter> of the mapping 'data'. Sorry for the misleading answer. "data" is not supposed to be used directly. "

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

2001-03-07 Thread Bryan Baszczewski
-Bryan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Brett Carter Sent: Wednesday, March 07, 2001 6:34 PM To: [EMAIL PROTECTED] Subject: [Zope-dev] dtml-in: next-batches Does anybody have an example of how to use the supposed next-batches mapping returne

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

2001-03-07 Thread Brett Carter
Does anybody have an example of how to use the supposed next-batches mapping returned by dtml-in? I'm trying to build a google-like pageing feature into my application, so we just show the first 5 results, then have a link to each next page, ie "1,2,3,4..." Thanks, -Brett

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

2001-03-07 Thread Brett Carter
I tried accessing keys off the 'data' object, and I just get an 'unathorized' error. -Brett > "Dieter" == Dieter Maurer <[EMAIL PROTECTED]> 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

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

2001-03-02 Thread Dieter Maurer
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'

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

2001-03-02 Thread Brett Carter
I've also discovered that setting overlap = 0 actually causes everything to overlap by 1. I didn't see anything in the collector about this either... -Brett > "Brett" == Brett Carter <[EMAIL PROTECTED]> writes: Brett> I'm running Zope 2.2.2, and I'm trying to use the batching stuff fo

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

2001-03-01 Thread Brett Carter
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-s