FacesContext fc = FacesContext.getCurrentInstance();
fc.getApplication().getVariableResolver().resolveVariable(fc, name)

Will grab a ref to an existant bean or, in the event it does not exist yet,
instantiate one and return its ref.
--
View this message in context: 
http://www.nabble.com/Force-creation-of-managed-bean-t1792885.html#a4886082
Sent from the MyFaces - Users forum at Nabble.com.

Reply via email to