Topic
No replies
kito99
kito99
56 Posts
ACCEPTED ANSWER

Pinned topic [ANNOUNCE] JSFCentral - Death to FacesContext.getCurrentInstance()

‏2013-01-12T02:55:25Z |
Hello,

I'm pleased to announce a new article on JSFCentral.com. In this article, JSF 2.0 Expert Group member Roger Keays highlights the pitfalls of using the static FacesContext.getCurrentInstance() locator method, and describes one workaround using JSF’s native dependency injection and another using EL 2.2 method parameters.

Read the full article here: http://www.jsfcentral.com/articles/death_to_facescontext.html

---
Kito D. Mann | @kito99 | Author, JSF in Action
Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and consulting
http://www.JSFCentral.com – JavaServer Faces FAQ, news, and info | @jsfcentral
  • Listen to the latest headlines in the JSF and Java EE newscast:http://blogs.jsfcentral.com/JSFNewscast/
  • Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17