Previously we checked the "Faces-Request" header only. Now we try to delegate the call to PartialViewContext.isAjaxRequest() first. If a FacesContext is unavailble for some reason we also check the "javax.faces.partial.ajax" request parameter.