On Sat, Jun 10, 2000 at 12:57:10PM +0200, Dieter Maurer wrote:
> The Zope 2.1.6 <dtml-in> provides batching information for
> the previous batch at the start and end of the sequence.
> Batching information for the following batch, however, is
> only available at sequence end.
> This makes it difficult to provide uniform navigation
> (to previous/next batch) both before and after the
> sequence.
> Moreover, if the current batch size is "1" (e.g. size=1), then
> <dtml-in> provides batch info for the following batch
> only for the sequence's first element. For all other
> elements only previous batch information but no following
> batch information is available. This is a bug.
> <dtml-in> provides modes "previous" and "next" that do not
> render the sequence but only provide the respective batching
> info.
> The problem with this solution is redundancy: the same
> parameters must be given to "<dtml-in previous>", "<dtml-in>"
> and "<dtml-in next>" to obtain reliable information.
> This is error prone and makes it difficult to separate
> navigation (for different sequences with different <dtml-in> parameters)
> in a general navigation method.
> The patch at
>       URL:http:www.handshake.de/~dieter/pyprojects/zope/dt_in.pat
> provides uniform batching information both at the start and
> at the end of the sequence. A batch size of 1 is correctly
> handled.

Hi Dieter,

Could you put your patch into the Collector?

This way we will not forget about your fix. Thanks!

Martijn Pieters
| Software Engineer    mailto:[EMAIL PROTECTED]
| Digital Creations  http://www.digicool.com/
| Creators of Zope       http://www.zope.org/
|   The Open Source Web Application Server

Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to