21 Feb
2005
21 Feb
'05
6:49 p.m.
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