[Zope] RE: Printing DTML documents from PythonScripts

Evan Simpson evan@4-am.com
Tue, 13 Feb 2001 09:11:55 -0500


From: "Mayers, Philip J" <p.mayers@ic.ac.uk>
> context.standard_html_header(context,REQUEST)

If you're being called *from* DTML as well, and you've bound your caller's
namespace to "_", you should use:

context.standard_html_header(None, _)

Cheers,

Evan @ digicool & 4-am