[Zope-CMF] CMF, templates, and dtml

Tres Seaver tseaver@zope.com
24 May 2002 08:47:34 -0400


On Thu, 2002-05-23 at 18:16, Dennis Allison wrote:
> 
> 
> On Thu, 23 May 2002, Dennis Allison wrote:
> > On Thu, 23 May 2002, Chris Withers wrote:
> > 
> > > Dennis Allison wrote:
> > > > 
> > > > And, BTW, is there a template equivalent for <dtml-tree>.  Ugly as the internals
> > > > may be, it's a very useful widget.
> > > 
> > > Yes, check the Examples folder in Any Zope 2.5.1 install...
> > > 
> 
> The Navigation examples include a python script which, in a template context,
> list siblings...  I was looking for something equivalent to the <dtml-tree ... >
> widget in dtml.  -dra

Check out the ZTUtils.Zope.SimpleTreeMaker class;  it was built for just
this purpose.

Tres.
-- 
===============================================================
Tres Seaver                                tseaver@zope.com
Zope Corporation      "Zope Dealers"       http://www.zope.com