cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Royal <pro...@apache.org>
Subject Re: [VOTE] allow redirects in handle-errors
Date Thu, 01 May 2003 10:52:21 GMT
On Wednesday, April 30, 2003, at 10:58  PM, Vadim Gritsenko wrote:
> Peter Royal wrote:
>> In which case I'd say allowing redirects only in handle-error blocks 
>> in *sub*-sitemaps. That way it acts more like nested try/catch blocks 
>> in java, if the handle-errors block in a sub-sitemap has an error, 
>> the parent sitemap will handle it :)
>
> It already works like this. Do not have handler in the subsitemap' 
> pipeline - parent will catch it. No parent has handler - servlet will 
> handle.

Right, so it shouldn't be too difficult to only allow redirects in 
subsitemap handle-errors blocks :)
-pete


Mime
View raw message