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==last" test). You are right that my change could
break existing code, but I think not as badly as defining the variables for
In any case, I will keep the change in my version until I notice a side
effect that I don't like.
> -----Original Message-----
> From: Ivo van der Wijk
> Sent: Monday, June 18, 2001 7:31 AM
> This is basically my patch #1. It makes previous-sequence-* and
> next-sequence-* available throughout the entire dtml-in loop.
> This sounds like a good fix, but people may rely on these variables
> being only set at resp. the start and end of the iteration.
> So this patch may break existing dtml code.
> That's why I suggested patch #2, which introduces new variables. Old
> code will continue to work, but people who want the problem fixed can
> use the newly introduced variables, which are available throughout the
Zope-Dev maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists -