[Zope] dtml-tree and branche selection
Dieter Maurer
dieter@handshake.de
Fri, 20 Jul 2001 21:44:40 +0200 (CEST)
Benoit DOMINIAK writes:
> I want to make a tree of my Folder but I want to hide some of them. In fact
> I just want to see them wich have a property called "titremenu". I've tryed
> :
>
> <dtml-tree branches_expr="objectValues(['Folder']) and
> hasProperty('titremenu')">
Use "ZopeFind" instead of "objectValues".
It allows to integrate the check into the selection.
"ZopeFind" is documented in the Zope Quick Reference.
Dieter