[Zope] Render the number of occurrence in a batch

R. David Murray bitz@bitdance.com
Mon, 4 Sep 2000 23:10:47 -0400 (EDT)


On Fri, 1 Sep 2000, Kapil Thangavelu wrote:
> Francois-Regis CHALAOUX wrote:
> > How to render the total number of result coming from the search in a ZCatalog
> > even if the batch will be render in several sequences ?
> > 
> > Howto render XXXX : "Your search contain XXXX results"
> 
> <dtml-var "_.len(YOURSEQUENCEGENERATOR)">

Or just

<dtml-var sequence-length> while inside the dtml-in, say inside
the <dtml-if sequence-start> block.

--RDM