[Zope] Batch processing

Michel Pelletier michel@digicool.com
Mon, 20 Sep 1999 13:32:42 -0400


> -----Original Message-----
> From: Sture [mailto:sture@rocketrange.no]
> Sent: Monday, September 20, 1999 4:18 PM
> To: zope@zope.org
> Subject: [Zope] Batch processing
> 
> 
> Hi!
> 
> I've just noticed something strange? here while trying to do 
> some stuff
> using batch processing. I followed the example in the dtml 
> users guide 
> (rev 1.6 s. 27) only changed the size of the batches to '1' 
> rather than '5'.
> Now - I tought that would let me step back and forth trough 
> the list in steps 
> of '1', and it does till theres 3 items left in the list - 
> then all three is 
> displayed at once (wich is not what I want). 
> 
> Is this a bug, or am I doing something stupid here, what?

The batch processing won't let you have batches less than the length of
the 'orphan' attribute, which defaults to 3.

<dtml-in aSequence size=1 orphan=0 ...>

should work for you.

-Michel