users@javaserverfaces-spec-public.java.net

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

From: Kito Mann <kito.mann_at_virtua.com>
Date: Thu, 30 Oct 2014 13:51:53 -0400

On Mon, Oct 6, 2014 at 11:38 AM, manfred riem <manfred.riem_at_oracle.com>
wrote:

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


+1

This has been driving me crazy for years. I thought there was a JIRA issue
for this, but maybe not.



> Manfred
>
>