Olá pessoal tenho um metodo (encontrado aki no guj) que pega o bean da sessao
public static Object getContextInfo(String info) {
FacesContext context = FacesContext.getCurrentInstance();
Application application = context.getApplication();
return application.createValueBinding(info).getValue(context);
}
Como fazer um:
public static void setContextInfo(String info) {
...
}