jsr372-experts@javaserverfaces-spec-public.java.net

[jsr372-experts] [473-FacesEventFacesContext] FacesEvent should have a getFacesContext method

From: manfred riem <manfred.riem_at_oracle.com>
Date: Mon, 06 Oct 2014 10:38:24 -0500

Hi all,

Currently a FacesEvent does not have direct access to FacesContext and
as such you need to do a FacesContext.getCurrentInstance().

As a FacesContext is always active when a FacesEvent exists we should be
able to add a convenience method getFacesContext() to the FacesEvent.

Any thoughts?
Manfred