0 Replies Latest reply on Jan 13, 2013 9:49 PM by Kito Mann

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

    Kito Mann Apprentice

      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