Thanks... but I think I really need to raise an error: I want to invoke the redirect in the standard_html_header, so if I use <dtml-call "RESPONSE.redirect(url)">, only the header will be redirected (I think...). Another, slightly related question: On my zope, whenever there is an error, the whole Traceback is printed on the error page, and this doesn't seem to be part of the standard_error_message. Does anyone know how to hide it, or to put it in a html comment, like www.zope.org does? Thanks, Stefan. On Thu, 2 Mar 2000, Chris Withers wrote:
Dunno about raise, but if you want to do a redirect, try (untested,YMMV,etc)
<dtml-call "RESPONSE.redirect(url)">
cheers,
Chris
Stefan Langerman wrote:
Hi,
Can anyone tell me what are the predefined error types for the <dtml-raise type=...> tag, and how to use them? The DTML manual talks about "Unauthorized", and "Redirect", but doesn't give any details. I haven't found how to use "Redirect" so far.
Thanks,
Stefan.