cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derek Hohls" <DHo...@csir.co.za>
Subject Re: Basic error handling
Date Fri, 06 Jul 2007 14:33:59 GMT
It can; but it does not have to - I refer you to the sample
code on oage:
http://cocoon.apache.org/2.1/userdocs/concepts/errorhandling.html 
under the section headed:
Error Handler Hierarchy.

>>> Tobia <tobia.conforto@linux.it> 2007/07/06 02:53 PM >>>

Derek Hohls wrote:
> right at the end of the sitemap, after *all* of the <map:pipeline>
> sections I have:
>
>   <map:handle-errors>
>     <map:select type="exception">
>       <map:when test="not-found">
>         <map:generate type="file" src="docs/missing.xml"/>
>      <map:call resource="simple-page2html"/>
>       </map:when>
>     </map:select>
>   </map:handle-errors>
>
>  </map:pipelines>
>
> </map:sitemap>

I believe handle-errors goes inside a pipeline.


Tobia

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



-- 
This message is subject to the CSIR's copyright, terms and conditions and
e-mail legal notice. Views expressed herein do not necessarily represent the
views of the CSIR.
 
CSIR E-mail Legal Notice
http://mail.csir.co.za/CSIR_eMail_Legal_Notice.html 
 
CSIR Copyright, Terms and Conditions
http://mail.csir.co.za/CSIR_Copyright.html 
 
For electronic copies of the CSIR Copyright, Terms and Conditions and the CSIR
Legal Notice send a blank message with REQUEST LEGAL in the subject line to
CallCentre@csir.co.za.


This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.


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


Mime
View raw message