0

Setting Java Managed Bean into Session

FacesContext.getCurrentInstance().getExternalContext()
               .getSessionMap().put( "testBean",
                     testBean );

TestBean testBean = (TestBean)FacesContext.getCurrentInstance().getExternalContext()
               .getSessionMap().get( "testBean")

|

0 Comments

Copyright © 2009 So That I Can Remember All rights reserved. Theme by Laptop Geek. | Bloggerized by FalconHive.