[Zope] Re: dtml-Variablen in <dtml-in> loops?

Tino Wildenhain tino@wildenhain.de
Mon, 28 May 2001 10:54:07 +0200


Hi Philipp,

--On Montag, 28. Mai 2001 09:17 +0200 Philipp Robbel 
<philipp.robbel@eml.villa-bosch.de> wrote:

> Hi Tino,
>
>> how about <dtml-in DATA start=GroupStart size=GroupCount orphan=0>
>> </dtml-in> ?
>
> thanks for the tips. Right now I use a mix of your code and my prior
> code :). I threw out the TEMP2 by avoiding the use of the "end=" but
> rather "size=Count" (as you said).
>
> Why exactly is "orphan=0" important in this context?

because orphan defaults to 3, meaning if the next batch
consist of lesser or equal to 3 rows, these are also
ilterated over.

Regards
Tino