cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <vadim.gritse...@verizon.net>
Subject Re: [VOTE] allow redirects in handle-errors
Date Thu, 01 May 2003 02:58:11 GMT
Peter Royal wrote:

> On Wednesday, April 30, 2003, at 10:13  PM, Antonio Gallardo wrote:
>
>> I think it can be usefull to set a special pipeline that process the
>> errors and redirect all the others handling erros of pipelines to this
>> one. This can reduce the size of the sitemap.
>>
>> This is just a idea. ;-)
>
>
> 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.

Vadim


> -pete




Mime
View raw message