Am 24.05.2006, 00:24 Uhr
schriebte Andrew Hedges [EMAIL PROTECTED]:
I'm at my wit's end. Any help is appreciated. Yes, I have worn
Google out trying to figure this out.
In my (yeah, yeah, I know) DTML method, I have structured things like
so:
dtml-call pyCheckSession --
Jo,
THANK YOU! This worked (with a slight change to the dtml-return):
dtml-unless pyCheckSession
dtml-return login_html
/dtml-unless
I *thought* I had seen redirect work as I had had it before, but
maybe I misunderstood what was happening. In any case, many thanks!
-Andrew
On
Actually, that is exactly what is happening. It's the current URL
with the contents of login_html rendered. I changed it to the
following and it worked:
dtml-unless pyCheckSession
dtml-return expr=1
/dtml-unless
Thanks again for your help!
-Andrew
On May 23, 2006, at 5/23/2006
On Fri, May 20, 2005 at 11:45:58PM +0300, Art??ras wrote:
The problem is on line #2. According to what's written, zope should
drop everything and do immediate redirect to page index_html (ok, it's
not where the first error appeared, I just managed to generate this
error as the most clearest
Artras wrote:
Hello,
I have a web page, a form on it, and on form submit action (to the same
page) I do some database actions (update some record, to be correct). The exact
code looks like this (filename edit_html):
.
(1) dtml-if form
(2) dtml-call RESPONSE.redirect('index_html')
should have been
dropped. This was the expected behavior :)
Thank you all for your support and ideas :)
Artras
-Original Message-
From: Jo Meder [mailto:[EMAIL PROTECTED]
Sent: 2005 m. gegus 21 d. 00:10
To: Art??ras
Subject: Re: [Zope] response.redirect not working
Am 20.05.2005, 22:45