cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peter royal <pro...@apache.org>
Subject Re: Allowing redirects in handle-errors
Date Tue, 20 Apr 2004 16:28:40 GMT
On Apr 20, 2004, at 12:22 PM, Tony Collen wrote:
>> If a URL with an invalid continuation ID is invoked, I would like to 
>> take the user to the start of the process rather than displaying an 
>> error page. AFAIK, this needs a redirect-to in the handle-errors 
>> block. I can think of several ways of working around this block, but 
>> I was curious as to what others do in this situation, and if might 
>> warrant a revote on the change :)
>> -pete
>
> Hmm. Could generate a page that has a "manual" redirect, e.g.:
>
> <meta http-equiv="refresh" content="0;url:http://foo"/> ?

yea, that's one of the ways of working around it, but seems hacky :)

i could also create a custom Action since that gets a handle to a 
Redirector.
-pete


Mime
View raw message