[Zope] newbie question: Redirect from Python?

Paul Winkler slinkp23@yahoo.com
Mon, 27 Nov 2000 19:47:15 -0500


OK, this seems to work.

def manage_addMyProduct(self, id, title='', REQUEST=None,
RESPONSE=None):
    self._setObject(id, MyProduct(id, title))
    if REQUEST is not None:
        whereto= REQUEST['URL3']
        RESPONSE.redirect(whereto, lock=0) 




-- 
.................    paul winkler    ..................
slinkP arts:   music, sound, illustration, design, etc.
           web page:  http://www.slinkp.com
      A member of ARMS:   http://www.reacharms.com