Re: [Zope] Redirecting from Python?

2000-08-04 Thread Jonothan Farr
Are you doing a dtml-var or dtml-call to call your external method? I believe you need a dtml-call. --jfarr "Perl is worse than Python because people wanted it worse." Larry Wall, 14 Oct 1998 - Original Message - From: Christopher J. Kucera [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Re: [Zope] Redirecting from Python?

2000-08-04 Thread Christopher J. Kucera
Jonothan Farr wrote: Are you doing a dtml-var or dtml-call to call your external method? I believe you need a dtml-call. I've tried both. :) Other things I've tried: * Explicitly passing in the REQUEST object * Explicitly passing in the RESPONSE object * slapping a "return" in front of

Re: [Zope] Redirecting from Python?

2000-08-04 Thread Christian Scholz
Hi! On Fri, Aug 04, 2000 at 12:49:52PM -0500, Christopher J. Kucera wrote: I'm working on a Product, and I'd like to be able to do a RESPONSE.redirect() from inside the Python code. What I had was basically this: [...] def someConditions(self): if (some number of conditions):