[Zope] Solved! Redirect

Ethan Fremen mindlace@majordomo.net
Fri, 08 Oct 1999 13:34:57 +0100


Ethan Fremen wrote:

> However, not everything worked...
> Why does this bit:<dtml-call
> "RESPONSE.redirect('manage_main?update_menu=1')">
> 
> result in not found?

well, first, the second part of the tutorial adds DocumentURL(), which
is, of course, case sensitive.  Second, it's just the url to the folder
you're in, so (if the document was created with the id variable
"new_id")
"RESPONSE.redirect(DocumentURL()+'/'+new_id)"

is the right answer.  Now to write up a little HOW-To.

-- 
~mindlace