[Zope] dtml-tree question
   
    Jack Coates
     
    jack@monkeynoodle.org
       
    15 Jul 2002 15:38:23 -0700
    
    
  
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...