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

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

From: Frank Caputo <frank_at_frankcaputo.de>
Date: Mon, 6 Oct 2014 18:06:46 +0200

Hi Manfred,

that would be great!

Ciao Frank

Am 06.10.2014 um 17:38 schrieb manfred riem <manfred.riem_at_oracle.com>:

> 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
>