webtier@glassfish.java.net

Re: Redirect from preRenderView

From: <forums_at_java.net>
Date: Mon, 15 Nov 2010 10:33:59 -0800

It looks like Flash scope is not production quality.  I've run into this
error now: 

>WARNING: JSF1095: The response was already committed by the time we tried to
>set the outgoing cookie for the flash.  Any values stored to the flash will
>not be available on the next request.
>
I guess it has something to do with mixing AJAX and Flash scope?  This
error is discussed here:

http://192.9.162.102/thread.jspa?threadID=5445714 [1]

It looks like some people are rolling their own solution for maintaining
FacesMessages across requests:

http://ocpsoft.com/java/persist-and-pass-facesmessages-over-page-redirects/
[2]


[1] http://192.9.162.102/thread.jspa?threadID=5445714
[2]
http://ocpsoft.com/java/persist-and-pass-facesmessages-over-page-redirects/

--
[Message sent by forum member 'slominskir']
View Post: http://forums.java.net/node/718010