[Zope] count of items in group?

Michael Bernstein mbernstein@profitscape.net
Wed, 03 Mar 1999 09:32:20 -0800


julian@zereau.net wrote:
> 
> Using the "in" tag's grouping capability, is there any way to get the count of
> items in that group? I need this so I can have a table with one row per item
> and a cell rowspanned for all the group's items (eg: related products and their
> picture).

Rather than using rowspan, use nested tables. I haven't done this in
Zope yet, but it was always my solution of choice in ColdFusion. It also
makes it easier to debug your layout in a WYSIWYG editor. It does, of
course, bloat your HTML a bit.

Michael Bernstein.