[Zope] #tree - trouble

Tom Jenkins TomJenkins@zentuit.com
Tue, 23 Mar 1999 09:34:47 -0500


Hey Sture,
Check to see if your index_html is a DTML Document.  DTML 
Document has its own namespace and doesn't use the folder's.

If you change DTML Document to a DTML Method then you'll pick up 
the folder's files and folders.
> Hi!
> 
> How come this code (from within index_html) doesn't show files and folders
> within my folder?
> 
> <!--#tree branches="objectValues(['Folder', 'File'])"-->
> <!--#var id-->
> <!--#/tree--> 
> 
> (<!--#tree--> <!--#var id--> <!--#/tree-->) doesn't work either)
> 

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Tom Jenkins                    DevIS (http://www.devis.com)
Can the denizens of this group enlighten me about what the 
advantages of Python are, versus Perl? "python" is more likely
to pass unharmed through your spelling checker than "perl". 
                  An unknown poster and Fredrik Lundh, 11 Sep 1998