Are you using a dtml document or method? Try using a method. -----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Jack Coates Sent: Monday, July 15, 2002 5:38 PM To: zope@zope.org Subject: [Zope] dtml-tree question Hi, I'm having trouble with dtml-tree. I'm trying to do a simple tree listing folders and documents in a VHM folder. I've tried all of the examples listed at these sites: http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html http://www.zope.org/Documentation/ZopeBook/AppendixA.stx The results have been a blank page or a syntax error every time. These two snippets seem like the most likely to work: can anyone tell me why they don't? </dtml-tree> <dtml-tree branches_expr="objectItems(['Folder','DTML Document','Image','File'])"> <dtml-var id> </dtml-tree> <dtml-tree branches=objectValues> <a href="&dtml-tree-item-url;" target=display> &dtml-title_or_id;</a> </dtml-tree> thanks, -- Jack Coates Monkeynoodle: A Scientific Venture... _______________________________________________ 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 )