[Zope] using the tree-tag with local_fs

Joachim Werner joachim.werner@iuveno.de
Thu, 6 Apr 2000 09:57:42 +0200


I'm trying to get a tree-view of the files in a Local File System object. The
idea is to get a view similar to the MS Explorer view (or the Zope management
interface ...) with the folder structure on the left and the folder contents
shown in the main window.

My first try to get a tree was:

<dtml-tree local branches_expr="fileValues()">
 <img src="<dtml-var icon>"><a href="<dtml-var "serverPath()">/<dtml-var url>"><dtml-var id></a>
</dtml-tree>

... where "local" is the name of the Local FS.

That does produce the first level "tree", but the tree won't expand correctly.
At the moment the tree view also doesn't work in the management console.

Is that part of the -- really brilliant -- Local FS still too buggy to use or
does anyone have a working example for a nice tree view?

Joachim.