[Zope] Dtml-tree and subfolders

Pascal Samuzeau samuzeau@oreka.com
Thu, 05 Sep 2002 09:29:38 +0100


Hi Dieter,                                                            
                                                                      
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.                                                              
                                                                      
Sincerily.                                                            
PS                                                                    
                                                                      
-------------------                                                   
> 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                                                              
>                                                                     
Cordialement                                                          
PS                                                                    
--------------------------------------------------                    
Oreka ! Nous sommes l'internet moins cher !                           
Surfez 25% moins cher avec http://www.oreka.com