This feature was added in Facelets 1.1.12 according to this URL:
http://sfjsf.blogspot.com/2006/03/facelets-112-is-out.html
To test this feature, set the session timeout to 1 minute, visit the
login page, and go grab a cup of coffee (yes, there are other ways,
but this is the real world test). When you get back, try to use the
login page. You should see that you can successfully login even though
the session is dead and the previously rendered login view cannot be
found during postback.
-Dan
On Sun, Sep 7, 2008 at 8:01 PM, Shane Bryzak <shane.bryzak(a)jboss.com> wrote:
Is this a recent change to Facelets? I tried this in the seamspace
example
and still got the "View /home.seam could not be restored" exception.
Dan Allen wrote:
>>
>> You simply set the context parameter PARAM_BUILD_BEFORE_RESTORE
>> to true.
>>
>
> Correction. I provided the name of the constant in the Facelets API.
> The parameter name is facelets.BUILD_BEFORE_RESTORE. The context
> parameter configuration is shown below:
>
> <web-app ...>
> ...
> <context-param>
> <param-name>facelets.BUILD_BEFORE_RESTORE</param-name>
> <param-value>true</param-value>
> </context-param
> </web-app>
>
> -Dan
>
>
--
Dan Allen
Software consultant | Author of Seam in Action
http://mojavelinux.com
http://mojavelinux.com/seaminaction
NOTE: While I make a strong effort to keep up with my email on a daily
basis, life and work come first and, at times, keep me away from my mail
for a while. If you contact me, then don't hear back for more than a week,
it is very likely that I am excessively backlogged or the message was
caught in the spam filters. Please don't hesitate to resend a message if
you feel that it did not reach my attention.