[Zope] search dtml-tree

Andreas Prlic andreas@came.sbg.ac.at
Wed, 4 Jul 2001 11:23:29 +0200


Hi!

I want to provide a search interface a dtml-tree. Users should query
all of the nodes of the tree and if their keyword matches to the title
of the node, the tree should automatically be expanded to display this
node

What is the best way to do it ?

e.g.:
A tree about cars:
if the table is not expanded it looks like:

+cars

if it is searched with "Opel" it should expand to:

-cars
|
|- Ferrari
|
|- Opel


Thanks for your help,
andreas