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'
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
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