Created
August 7, 2014 22:14
-
-
Save incepttechnologies/0c3d43c8cd697881f39c to your computer and use it in GitHub Desktop.
read a value from flash scope
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public String someViewAction() { | |
System.out.println("flashExampleBean.someViewAction called"); | |
Flash fl = FacesContext.getCurrentInstance().getExternalContext().getFlash(); | |
Set flSet = fl.keySet(); | |
System.out.println("FL set size = " + flSet.size() | |
+ ", i1 value=" + fl.get("i1") | |
+ ", i2 value=" + fl.get("i2") | |
+ ", i3 value=" + fl.get("i3")); | |
return "index_1"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment