[Zope] dtml-raise types?

Chris Withers chrisw@nipltd.com
Thu, 02 Mar 2000 13:44:21 +0000


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.
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )