[Zope] First attempt at writing External Method .. need help
Sun, 23 Jun 2002 06:22:56 -0400
>I wrote the example as in The Zope Book;
>file hello.py in Extensions dir
> return "Howdy there big world"
>I created a folder testExternalMethods
>and added External Method = hello ...
>It added with no errors, however clicking
>on the 'Test' tab of object 'hello' does nothing
>and the URL testExternalMethods/hello produces a blank page
>What am I missing here?
If your method is exactly as above, you are missing the docstring.
Methods published to the web from external methods (or inside Python
products) need a docstring.
"""Say hello, world!"""
return "Howdy there big world"
-- Jim Washington