Hi! I have the following problem: i have a dtml-tree listing the directory structure. but i want to be able to define a property called "hidden" (bool) on folders. these hidden folders mustn't appear in the tree. any ideas how this could be done? thank in advance! regards, Klaus -- Klaus Herrmann <klaus.herrmann@goelz.com> Goelz & Schwarz GmbH, Munich www.goelz.com phone:+49 - (0)89 - 544 67 0 22 fax: +49 - (0)89 - 544 67 0 10
Klaus Herrmann wrote:
Hi!
I have the following problem: i have a dtml-tree listing the directory structure. but i want to be able to define a property called "hidden" (bool) on folders. these hidden folders mustn't appear in the tree. any ideas how this could be done?
thank in advance!
UNTESTED, stab at it: <dtml-tree branches_expr="objectValues(['Folder']) AND NOT is_hidden"> HTH, -- Tim Cook, President - FreePM,Inc. http://www.FreePM.com Office: (731) 884-4126 ONLINE DEMO: http://www.freepm.org:8080/FreePM
participants (2)
-
Klaus Herrmann -
Tim Cook