This content has been marked as final.
Show 2 replies
-
1. Re: FacesMessage wrongly saved?
kenfinni May 28, 2013 11:10 AM (in response to damien_b)This is expected behavior defined within the current Bridge spec, which fails to take into account the latest JSF usages of Ajax.
PBR-516 has been raised to provide a way to disable that behavior.
-
2. Re: FacesMessage wrongly saved?
damien_b May 28, 2013 12:44 PM (in response to kenfinni)Thanks for the very quick answer. I thought I could work around the problem with a phase listener given that we use the FacesMessage with a known pattern, but the FacesContext (even Impl) doesn't allow removing manually messages.
Another idea that I had was to try to force switching the portlet mode to EDIT during the Ajax processing in order to prevent the restoration of the FacesContext from the BridgeContext containing the messages, but I haven't fully wrapped my head around that idea