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) This is using Zope 1.10.2 on linux (2.0.35) All I get is a blank screen - how come??
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
On Tue, Mar 23, 1999 at 09:34:47AM -0500, Tom Jenkins wrote:
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.
That did the trick - thanks!
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
_______________________________________________ Zope maillist - Zope@zope.org http://www.zope.org/mailman/listinfo/zope
(For developer-specific issues, use the companion list, zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
participants (3)
-
raver@box.dust.za.net -
Sture Lygren -
Tom Jenkins