I am new to jsf. I need to populate the values from my first jsf page into the other page when i click the next button. I have tried a couple of things but no luck. Can anybody help me with this.
Thanks.
Daniel Conner
Ranch Hand
Joined: Jan 25, 2007
Posts: 47
posted
0
have you tried putting it in the session? Object myObject = ?(whatever it actually equals) FacesContext context = FacesContext.getCurrentInstance(); Map sessionMap = context.getExternalContext().getSessionMap(); sessionMap.put("nameOfMySessionVariable", myObject);
AND then in the the bean where you want to get it: