[Zope] dtml-in size error

Christopher J. Kucera ckucera@globalcrossing.com
Tue, 28 Mar 2000 15:41:16 -0600


mauricio_sl@uol.com.br wrote:
> I have found that the dtml-in has a problem when you specify a
> batch-size that is less than the double of the length of the input list.

Adding an "orphan=0" tag inside the dtml-in should do it:

  <dtml-in foo orphan=0>
    . . . bar . . .
  </dtml-in>

A more general question for the list, though:  Shouldn't the default
orphan value be zero?  It seems to me that if someone explicitly says
"I want three items," it should be more of a special case that they'd
somehow want more . . .

-CJ