See the updated page on:
https://cwiki.apache.org/confluence/display/MYFACES/Access+FacesContext+From+Servlet