1

I have an app running with Primefaces, JSF 2.2, Spring and Hibernate. I use JSF's Flash Scope to send a parameter with a redirection:

FacesContext.getCurrentInstance().getExternalContext().getFlash().put("loginCliente", cliente.getLogin());
return "registroCasa?faces-redirect=true";

If I write #{flash.keep.loginCliente} in registroCasa.xhtml and I reload the page the value becomes null, but if I write #{flash.loginClient} the value keeps alive. Why?

I'm using Mojarra 2.2.12.

BalusC
  • 1,082,665
  • 372
  • 3,610
  • 3,555
rorbla
  • 23
  • 4
  • Flash works ok with MyFaces implementation. Maybe is a bug as says BalusC http://stackoverflow.com/questions/9148798/object-in-flash-scope-is-not-available-after-redirect – rorbla Apr 19 '16 at 00:22

0 Answers0