What i use: RichFaces version v.4.1.0.Final Mojarra 2.0.3
edit: i installed mojarra 2.1.11
So, im facing 2 problems.
1 - I'm going by flash, an object to see it in the next view. The problem is that when a re direct my page through the faces-config, the object never comes. When what i do is
Company companyToView = (Company)FacesContext.getCurrentInstance().getExternalContext().getFlash().get("publicProfileCompany");
I get nothing. This should not happen since before re directing to the new .xhtml i set value. How i set
FacesContext.getCurrentInstance().getExternalContext().getFlash().put("publicProfileCompany", record.getContactedCompany());
return "goToPublicProfile";
2 - And in other pages, after the object is inserted in the flash its lives longer than one redirect. In one case its lives 6 times longer!
I would like to put code, but the post would be to long. If its needed i do it.