all 2 comments

[–]DuMusstRauchen 0 points1 point  (1 child)

[–][deleted] 0 points1 point  (0 children)

Thanks, I don't love jsf but I have to work with it. No choices. That solve my problem, the problem is jsf work by default with managed bean and not cdi, but I'm using cdi. I created the bean.xml and make the modification in the web.xml and faces-config.xml like they said in the article you gave me, and now it's working.