[Zope] Tree

Tom Deprez tom.deprez@uz.kuleuven.ac.be
Fri, 21 Apr 2000 17:17:13 +0200


tree-item-expanded gives only if the item is expanded, it doesn't gives the
last expanded item (which should only be one; ie the last selected item)

Tom.

i Tom !

> Is there a way to know the last expanded branch of a dtml-tree?

This may be what you need:

<dtml-if tree-item-expanded>
<b>
</dtml-if>
<dtml-var name>
<dtml-if tree-item-expanded>
</b>
</dtml-if>

Greetings,

Maik