@Override public void init() { getServletContext().setAttribute("managedBeanName", new BackingBean()); }Access from web page with #{managedBeanName}
References http://stackoverflow.com/questions/6746149/how-to-register-a-jsf-managed-bean-programmatically
No comments:
Post a Comment