Thanks Jim, that was it. I added a comment to the Zope Book. Kent On Sun, 23 Jun 2002 06:22:56 -0400, Jim Washington wrote: kent@springfed.com wrote:
Howdy,
I wrote the example as in The Zope Book;
file hello.py in Extensions dir
def hello(): 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. e.g., def hello(): """Say hello, world!""" return "Howdy there big world" -- Jim Washington _______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )