cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Goers <>
Subject Re: Handle-errors with redirect. Is it possible?
Date Wed, 21 Sep 2005 04:28:12 GMT
This should probably go into an faq.  Here is the pertinent link:

Take a look at the vote thread that this message points to.  You will 
see that if you just have to have it then you need to implement your own 
action to do it.


Gerry Kaplan wrote:

>Is it possible to redirect from within the handle-errors block? Here's what
>I want to do, but can't figure out how to get there.
>    <map:select type="exception">
>        <map:when test="invalid-continuation">
>            <map:act type="redirect-to" src="index.html"/>
>		   ... Or ...
>		<map:redirect-to uri="index.html"/>
>        </map:when>
>    </map:select>
>Some online documents show this is possible, but I get a sitemap error. I'm
>doing something wrong, or I'm going down the wrong path. Please help.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message