dtml-tree and branche selection
Hi, 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')"> <dtml-var id> </dtml-tree> But it doesn't work. Any idea ? Benoit Dominiak +33 (0)608463826 www.koubiac.fr.st _________________________________________________________________ Téléchargez MSN Explorer gratuitement à l'adresse http://explorer.msn.fr/intl.asp
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
participants (2)
-
Benoit DOMINIAK -
Dieter Maurer