[Zope] dtml-in: number of items in current batch

Loren Stafford lstafford@morphics.com
Tue, 24 Apr 2001 13:42:53 -0700


This is what I've been using in our employee directory listing. Sure looks
unfamiliar, tho. Don't know where I found it.

Found <dtml-var "_['sequence-step-end-index']+1"> items.

OK. Now I find it in the ZQR. It's the end index of the current batch. Look
in the ZQR for more variables.

-- Loren

> -----Original Message-----
> From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Ron
> Bickers
> Sent: Tuesday, April 24, 2001 13:14
> To: zope@zope.org
> Subject: [Zope] dtml-in: number of items in current batch
>
>
> I can't seem to figure out what sequence- variable to use to get
> the number
> of items in the current batch.  sequence-step-size gives me the
> size of the
> batch as I requested (ex, for <dtml-in ... size="3"> returns 3), but if
> there are actually only 2 more items to go, what can I use to get
> the number
> 2?
>
> Feelin' like a newbie...Thanks!
> _______________________
>
> Ron Bickers
> Logic Etc, Inc.
> rbickers@logicetc.com
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>