[Zope] <dtml-tree> and ZCatalog

Joel Burton jburton@scw.org
Wed, 14 Mar 2001 14:21:36 -0500 (EST)


ZCatalog + dtml-tree was asked a few months ago, but I didn't see
any answers in the archives. Apoligies if I've misssd some.


I have a Catalog which holds books, which have an author attribute.
Several books may have the same author name.

I'd like a dtml-tree that looks like:

+ Shakepeare
  Hamlet
  Measure for Measure
- Sylvia Plath
- A.S. Byatt

(that is, a 2-level tree, with the first level being author name, and the
second level being the books. There are no levels beyond 2)

Can anyone suggest how to script the DTML tag to show this?

Thanks for any help/pointers.

-- 
Joel Burton   <jburton@scw.org>
Director of Information Systems, Support Center of Washington