[Zope] MessageDialog in Python Script
   
    Dieter Maurer
     
    dieter@handshake.de
       
    Mon, 2 Dec 2002 23:59:22 +0100
    
    
  
Ausum Studio writes:
 > Inside a PythonScript, you can use:
 > 
 > context.REQUEST.RESPONSE.write(string)
 > 
 > as much times as you need it.
 > 
 > You need to take into account that all what your page will render are the
 > streamed strings, and that any 'return something' at the end of the script
 > wil not work, unless it's another response like 'RESPONSE.redirect(url)'.
This will not work either:
  "Response.redirect" works by sending an appropriate HTTP response
  code.
  But this is already written in the first "write". There is no way
  to send a second one.
Dieter