[Zope] Trees in ZPT and zpt_examples

Dieter Maurer dieter@handshake.de
Sat, 5 Apr 2003 08:12:46 +0200


Isokangas, Erik  HTC/DE/FRA wrote at 2003-4-4 08:44 +0200:
 > (sorry for the cross-posting with zope-forums.org, I didn't realise that it
 > doesn't post directly to this forum)
 > 
 > I have been looking for a method to display a tree structure in ZPT, where
 > the tree is built from simple, hierarchical data (rather than folderish
 > objects).
 > 
 > The tree_menu example looked the most promising but I can't seem to get it
 > to work. I'm getting the following error...
 > 
 > Request URL: http://linux3:8080/Examples/zpt_examples/tree_menu.pt 
 > Exception Type: IndexError 
 > Exception Value: string index out of range 

A bug in "ZTUtils".

I recently reported it to <http://collector.zope.org/Zope>" together
with a receipe how to fix it.


Dieter