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.
"
-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
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
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
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'
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
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