[Zope] Dtml-tree and subfolders

Dieter Maurer dieter@handshake.de
Wed, 4 Sep 2002 20:26:54 +0200


Pascal Samuzeau writes:
 > I have the following hierarchical contents :                          
 >                                                                       
 > FolderRoot                                                            
 > ----Folders                                                           
 > -------FolderA                                                        
 > ---------FolderAA                                                     
 > ---------FolderAB                                                     
 > -------FolderB                                                        
 > -------FolderC                                                        
 > -------DocumentX                                                      
 >                                                                       
 >                                                                       
 > I want to display it with Dtml-tree, so I have written :              
 >                                                                       
 > <dtml-let URL=absolute_url>                                           
 >  <dtml-tree expr="Folders" leaves=dtcTemplate sort=title>             
 >    <dtml-var title>                                                   
 >  </dtml-tree>                                                         
 > </dtml-let>                                                           
 >                                                                       
 >                                                                       
 > By this way I can catch FolderA, FolderB, FolderC and DocumentX.      
 > But I can't go inside FolderA, this is due to URL=absolute_url.       
You know more than we do.

  What is the problem with "URL=absolute_url"?
  What happens when you try to go inside "FolderA"?


Dieter