Ivo, somehow I had missed the very start of the thread. I think that my
change pretty much implements the third alternative you describe in your
post, but for which you provided no patch (the one which defines the
variables at the top and bottom only, because I leave the "if
index==first or index=
On Wed, Jun 13, 2001 at 04:28:12PM -0700, Jean Lagarde wrote:
> Good day all,
>
>
> Here is the original code, with my annotated change (I deleted an if test in
> two places):
>
> for index in range(first,end):
> # preset
> kw['previous-s
Good day all,
I wouldn't consider myself as a Zope developper, but since that's where the
thread was...
I've read the thread with interest but so far all I've read in it are
workarounds that I do not find particularly nice. I did find a bug w/patch
in the collector (#1317), which I thought was m
Title: RE: [Zope-dev] dtml-in batching improved
Back before the zope.org product directory became so easy to navigate I wrote an index
that I used to use which has batch links top and bottom:
http://www.zope.org/Members/haqa/productlist/view_source
Dunno if this helps...
Adrian
> > > Nope, my solution used only one dtml-in and maybe a dtml-let, no
REQUEST
> > > munging :-)
> > >
> > Ok, show me :)
>
> Hurm... gimme a shout next Thursday when I have access to the code again
;-)
Actually, scratch that, check out the folder_contents.dtml file in
CMFDefault/skins of the CMF
> > Nope, my solution used only one dtml-in and maybe a dtml-let, no REQUEST
> > munging :-)
> >
> Ok, show me :)
Hurm... gimme a shout next Thursday when I have access to the code again ;-)
cheers,
Chris
___
Zope-Dev maillist - [EMAIL PROTECTED]
On Thu, May 31, 2001 at 05:36:21PM +0100, Chris Withers wrote:
> > I've done it myself as well using (as described in the posting) two
> > dtml-in's (the second one purely for displaying the prev/next links).
> >
> > Is your solution any different? (The only one I can think of is storing
> > the i
> I've done it myself as well using (as described in the posting) two
> dtml-in's (the second one purely for displaying the prev/next links).
>
> Is your solution any different? (The only one I can think of is storing
> the info in your REQUEST object and using it later, but that's really
> ugly.)
Ivo van der Wijk wrote:
>
> On Wed, May 30, 2001 at 10:02:31PM +0100, Chris Withers wrote:
> > > When using batching in dtml-in, why is 'previous-sequence' only defined at
> > > the first iteration of the current batch? And why is 'next-sequence' only
> > > defined at the last iteration of the cu
On Wed, May 30, 2001 at 10:02:31PM +0100, Chris Withers wrote:
> > When using batching in dtml-in, why is 'previous-sequence' only defined at
> > the first iteration of the current batch? And why is 'next-sequence' only
> > defined at the last iteration of the current batch?
>
> I know this probl
> When using batching in dtml-in, why is 'previous-sequence' only defined at
> the first iteration of the current batch? And why is 'next-sequence' only
> defined at the last iteration of the current batch?
I know this problem ;-)
I had it too, and stuck something in the collector about it. I di
Hi all,
When using batching in dtml-in, why is 'previous-sequence' only defined at
the first iteration of the current batch? And why is 'next-sequence' only
defined at the last iteration of the current batch?
This behaviour makes it difficult to display a batch like this:
-- begin sample --
It
12 matches
Mail list logo