Author: manaRH
Date: 2012-09-12 12:04:18 -0400 (Wed, 12 Sep 2012)
New Revision: 15130
Modified:
branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Configuration.xml
branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Events.xml
Log:
JBSEAM-4693 documentation addition for Seam exception handling
Modified:
branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Configuration.xml
===================================================================
---
branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Configuration.xml
2012-09-12 15:51:40 UTC (rev 15129)
+++
branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Configuration.xml
2012-09-12 16:04:18 UTC (rev 15130)
@@ -156,7 +156,7 @@
<para> Adding the master filter enables the following built-in
filters. </para>
- <sect3>
+ <sect3 id="exception_handling">
<title>Exception handling</title>
<para> This filter provides the exception mapping
functionality in <literal>pages.xml</literal> (almost
all applications will need this). It also takes care of
rolling back uncommitted transactions when
Modified:
branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Events.xml
===================================================================
---
branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Events.xml
2012-09-12 15:51:40 UTC (rev 15129)
+++
branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Events.xml
2012-09-12 16:04:18 UTC (rev 15130)
@@ -994,7 +994,12 @@
</filter-mapping>]]></programlisting>
<para>
- You need to disable Facelets development mode in
<literal>web.xml</literal> and
+ As the second requirement is to add
<literal>web:exception-filter</literal> configuration component
+ into <filename>WEB-INF/components.xml</filename>. More details are
in <xref linkend="exception_handling"/>
+ </para>
+
+ <para>
+ You need to disable Facelets development mode in
<literal>web.xml</literal> too and
Seam debug mode in <literal>components.xml</literal> if you want
your exception handlers
to fire.
</para>
_______________________________________________
seam-commits mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/seam-commits