cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Goers <Ralph.Go...@dslextreme.com>
Subject Re: Redirect within <handle-errors> block
Date Thu, 14 Apr 2005 22:49:28 GMT
FWIW

http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=105231353428562&w=2

Ralph

Adam Ratcliffe wrote:

>Hi
>
>I'd like to redirect from within an error handler for certain types of
>exception. The cocoon user docs illustrate this example using a redirect action:
>
>    <map:handle-errors>
>      <map:select type="exception">
>        <map:when test="connection">
>          <map:act type="redirect" src="cocoon:/error"/>
>        </map:when>
>      </map:select>
>    </map:handle-errors>
>
>>From what I can see this action isn't included with recent cocoon releases and
>the sitemap redirector isn't allowed in this context.
>
>Can anyone tell me how to redirect in an error handler?
>
>Cheers
>Adam
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message