[seam-dev] Re: PARAM_BUILD_BEFORE_RESTORE
dan.j.allen at gmail.com
Sun Sep 7 21:01:59 EDT 2008
This feature was added in Facelets 1.1.12 according to this URL:
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.
On Sun, Sep 7, 2008 at 8:01 PM, Shane Bryzak <shane.bryzak at 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 ...>
Software consultant | Author of Seam in Action
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.
More information about the seam-dev