[Zope] Dtml-tree and subfolders

Dieter Maurer dieter@handshake.de
Thu, 5 Sep 2002 19:01:57 +0200


Pascal Samuzeau writes:
 > I know, I know, ... I try to understand well...                       
 >                                                                       
 > So, when I try to go inside the FolderA, I have my site's page        
 > returned.                                                             
 >                                                                       
 > When I have a look about the link it looks like :                     
 >                                                                       
 > http://MySite/FolderA?tree-e=.............                            
 >                                                                       
 > It must go to http://MySite/FolderA/FolderAA?tree-e=........, but it  
 > doesn't.                                                              
Why should it?

The (path part of the) URL is usually not changed when you expand the
tree, just the query string.

See the code for the left part of the ZMI (Zope Management Interface)
on how to construct (inside the tree element content) URLs to corresponding
objects.


Dieter