25 Nov
2002
25 Nov
'02
4:23 p.m.
Thomas Guettler wrote:
Hi!
Is it possible to write a standard_error_message as a method in a python product?
probably
"def standard_error_message(self, **kwargs)"
...that doesn't look like a good set of parameters. Use whatever parameters a ZPT takes when called (look in ZopePageTemplate.py for a __call__ method) and emulate that. Also make sure your method is anonymously accessible and doesn't error. cheers, Chris