How to get Reference of one Managed Bean from other Managed Bean

Monday, June 30, 2008


FacesContext ctx = FacesContext.getCurrentInstance();
Application app = ctx.getApplication();
MyManagedBeanClass mb = (MyManagedBeanClass) app.getVariableResolver().resolveVariable(ctx,"MyManagedBean");

Read more...

  © Blogger templates Newspaper by Ourblogtemplates.com 2008

Back to TOP