[Zope] External Methods and RESPONSE

Tony McDonald tony.mcdonald@ncl.ac.uk
Fri, 3 Dec 1999 15:06:45 +0000


At 2:46 pm +0200 3/12/99, Itamar Shtull-Trauring wrote:
>Tony McDonald wrote:
>
>>  However, I am creating my output page from an External Method, which
>>  looks something like this...
>>
>>  def sg_preamble(self, guideid):
>
>try
>def sg_preamble(self, guideid, RESPONSE=None):
>

That's it.... :)

Along with
    html = template(self, RESPONSE=RESPONSE)
Everything is working fine.

Thanks Itamar! (and Pavlos too!).
Tone
------
Dr Tony McDonald,  FMCC, Networked Learning Environments Project 
http://nle.ncl.ac.uk/
The Medical School, Newcastle University Tel: +44 191 222 5888
Fingerprint: 3450 876D FA41 B926 D3DD  F8C3 F2D0 C3B9 8B38 18A2