Author: artdaw
Date: 2008-04-30 07:36:01 -0400 (Wed, 30 Apr 2008)
New Revision: 8363
Modified:
trunk/docs/faq/en/src/main/docbook/module/RFCfaq.xml
Log:
http://jira.jboss.com/jira/browse/RF-3117 - info about ViewExpiredException workaround was
added into FAQ
Modified: trunk/docs/faq/en/src/main/docbook/module/RFCfaq.xml
===================================================================
--- trunk/docs/faq/en/src/main/docbook/module/RFCfaq.xml 2008-04-30 11:12:53 UTC (rev
8362)
+++ trunk/docs/faq/en/src/main/docbook/module/RFCfaq.xml 2008-04-30 11:36:01 UTC (rev
8363)
@@ -2342,4 +2342,22 @@
</listitem>
</itemizedlist>
</section>
+ <section id="viewExpiredException">
+ <?dbhtml filename="viewExpiredException.html"?>
+ <title>How to handle ViewExpiredException?</title>
+ <para>
+ As <property>RichFaces 3.1</property> is targeted at
JSF 1.1,
+ you won't get
<property>ViewExpiredExceptions</property> generated when using it with JSF
1.2.
+ This exception appears after session timeout.
+ </para>
+ <para>
+ Fortunately there is an easy workaround. Add to your
<property>web.xml</property>:
+ </para>
+ <programlisting role="XML"><![CDATA[...
+<context-param>
+
<param-name>com.sun.faces.enableRestoreView11Compatibility</param-name>
+ <param-value>true</param-value>
+</context-param>
+...]]></programlisting>
+ </section>
</chapter>