RE: [Zope] dtml-tree: controlling expanded nodes
Markus, I've been spending a lot of time looking into exactly this. The short answer seems to be no. The long answer is: lots of folks have tried, all have given up (that I can tell so far). It seems it would require modifying the source for the tree tag, or figuring out (without documentation, just by reading the source) how to manipulate some of the tree variables, like tree-e. From the mail list archives I've read, it looks like we can't even be sure of how the tree will respond to these variables, since it's written to *set* them, not receive them already set. I haven't given up yet, so if I come up with anything better I'll let you (and the list) know. Craig Dunigan Web Programmer Esker Software - Extending the Reach of Information mailto:craig.dunigan@esker.com Ph. 608.273.6000 Fax 608.273.8227 http://www.esker.com
-----Original Message----- From: Markus Kemmerling [mailto:markus.kemmerling@mediaweb.at] Sent: Thursday, May 31, 2001 3:15 AM To: zope@zope.org Subject: [Zope] dtml-tree: controlling expanded nodes
Is there any >>simple<< way to tell a DTML method with a tree tag to expand a node when it is called for the first time? This obviously meens to pass a tree-e parameter, but how to find out the correct value?
I use the tree tag to show a list of folders and DTML documents in it and would like to pass the ids of folders to expand (one would be enough).
Any hint appreciated,
Markus Kemmerling
_______________________________________________ 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 )
tree-e. From the mail list archives I've read, it looks like we can't even be sure of how the tree will respond to these variables, since it's written to *set* them, not receive them already set. I haven't given up yet, so if I come up with anything better I'll let you (and the list) know.
You could always re-write it from scratch to do what it should and be easier to use. I'm sure DC would love a patch to bring this beast back into line. Maybe start a Fishbowl proposal on it: http://dev.zope.org cheers, Chris
participants (2)
-
Chris Withers -
Dunigan, Craig