[Zope] create DTML-Source-link like on zope.org

Chris Withers chrisw@nipltd.com
Thu, 03 Aug 2000 10:36:03 +0100


Svante Kleist wrote:
>         Also, document_src() is a "Python method" function
>         included in the "Python Method" product

Sorry but that simpyl isn't true :S

The method below works on a slightly patched Zope 2.1.6 with no Python
Methods product installed...

cheers,

Chris

<!--#var standard_html_header-->
<pre>
<!--#var "document_src(REQUEST,RESPONSE)" html_quote-->
</pre>

<!--#call "RESPONSE.setHeader('content-type','text/html')"-->

<!--#var standard_html_footer-->