Luis Roche created MYFACES-3606:
-----------------------------------
Summary: Flash scope looses values on redirect when immediate=true
Key: MYFACES-3606
URL: https://issues.apache.org/jira/browse/MYFACES-3606
Project: MyFaces Core
Issue Type: Bug
Components: JSR-314
Affects Versions: 2.1.8
Environment: JDK 1.6, Tomcat 7, JSF 2.1.8
Reporter: Luis Roche
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
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira