@ManagedBeanfrom a JSF application. We both thought about using the code below, and in fact it works, but it left me feeling that this was too specific.
I thought a better approach would be to just "find" the bean and set it to
null. Using an
ELResolverI thought would be better since I could just look for a bean in a more general way.