Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
2.1.8
-
None
-
None
-
JDK 1.6, Tomcat 7, JSF 2.1.8
Description
I have the following button:
<h:commandButton immediate="true" value="immediate_true" action="#
{testBean.actionTest}"></h:commandButton>
As part of the testBean.actionTest, I am adding a message to Flash Scope.
public String actionTest()
{ FacesContext.getCurrentInstance().getExternalContext().getFlash().put("infoMessage","TEST IMMEDIATE"); return "page2?faces-redirect=true"; }I do not see the flash message displayed on the next screen when I press the command button. I will
see the message if immediate is set to false.
This works fine with Mojarra 2.1.12
Attachments
Attachments
Issue Links
- is duplicated by
-
MYFACES-3752 Flash.setKeepMessages(true) does not work with immediate-Commandbutton
- Closed