[Zope] search dtml-tree
Dunigan, Craig
craig.dunigan@esker.com
Thu, 5 Jul 2001 11:22:24 -0500
Hi Andreas,
Unfortunately, it doesn't look like dtml-tree can be readily influenced the
way you want. There's supposed to be a way to manipulate a variable set in
a cookie, but my searches haven't found it yet. Anyway, it appears to
accept only the parameters to expand_all or collapse_all, and that's it. If
you can find a way to make this work, there would be a *lot* of people on
this list who would be interested.
Craig
> -----Original Message-----
> From: Andreas Prlic [mailto:andreas@came.sbg.ac.at]
> Sent: Wednesday, July 04, 2001 4:23 AM
> To: zope@zope.org
> Subject: [Zope] search dtml-tree
>
>
> 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
>
>
>
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
>