[Zope] url path remainder as a script parameter?

Dieter Maurer dieter at handshake.de
Mon Feb 21 13:49:44 EST 2005


Kent Watsen wrote at 2005-2-21 01:21 -0800:
> ...
>I can get it to work when adding the Script directly, but 
>traverse_subpath does not work when I try to do the same with a Script 
>"Method" [index_html] added to a ZClass in a Product I created inside 
>the ZMI - when my URL contains a path beyond the product, Zope displays 
>a "Cannot locate object" error...

"index_html" is only automatically added after the complete URL.

There is a mixin class around (though I do not know its name!)
that provides traversal control for ZClasses.
You will need to search the Web to locate it -- or use a Python Script
outside a Z Instance...

-- 
Dieter


More information about the Zope mailing list