RE: [Zope-dev] Catching "extra path"

2004-03-09 Thread Sandor Palfy
The question is, how can I do this from within a Python-based product? Calling http://host/folder/object/method/a/b/c fails to invoke the method 'method' on my custom object 'object'. Instead, I get a "Cannot locate object" page. --- You can define a method in your 'object'

Re: [Zope-dev] Catching "extra path"

2004-03-09 Thread Chris McDonough
See the definition for __before_publishing_traverse__ in Zope's lib/python/Shared/DC/Scripts/Bindings.py. HTH, - C On Tue, 2004-03-09 at 14:33, Ian Beatty wrote: > Hi again. > > I'm chipping away at the problem I asked about earlier ("Product Access to > Files") -- or perhaps just beating

[Zope-dev] Catching "extra path"

2004-03-09 Thread Ian Beatty
Hi again. I'm chipping away at the problem I asked about earlier ("Product Access to Files") -- or perhaps just beating my head against it -- and I've got another question. If I'm writing a Python script within the ZMI, any URL that resolves to my script will invoke the script, even if the URL ha