752



From: Jonathan <[EMAIL PROTECTED]>


>In your root folder you could have a script that 
accesses the ZCatalog which can >be called from any subfolder and can tell 
where it was called from... try the >following:  create a python script 
(tst) in your root folder that contains the >following code:

> 

>return str(traverse_subpath)



> 

>then invoke this script file as 
followings:

> 

>http:/your.web.site/tst


>http:/your.web.site/tst/folderA


>http:/your.web.site/tst/folderB/folderC

> 

>(substitute your own subfolders as required)



You're going to be disappointed, but whenever I substituted in any number of 
valid folders, I got the same result:

[]

an empty set!
TIA,
Javier








 
____________________________________________________________________________________
Any questions? Get answers on any topic at www.Answers.yahoo.com.  Try it now.
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to