[Zope] dtml-tree: controlling expanded nodes

Dunigan, Craig craig.dunigan@esker.com
Thu, 31 May 2001 12:08:36 -0500


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
Ph. 608.273.6000
Fax 608.273.8227

> -----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 )