On Mon, Nov 25, 2002 at 07:32:03PM +0100, Dieter Maurer wrote:
Thomas Guettler writes:
Is it possible to write a standard_error_message as a method in a python product?
"def standard_error_message(self, **kwargs)" Try: def standard_error_message(self, client=None, REQUEST=None, **kwargs):
I tried it with several combinations. Since client and REQUEST are keywordarguments, the two ways should be the same. The standard_error_message can be accessed with foo_url/standard_error_message: def standard_error_message(self, client=None, REQUEST=None, **kwargs): "docstring" return "ERROR" Maybe the following collector issue is still not solved: http://collector.zope.org/Zope/69/view thomas -- Thomas Guettler <guettli@thomas-guettler.de> http://www.thomas-guettler.de