Hi Manfred.
Greate idea - I always wondered why FacesContext is not passed on with
FacesEvents.
And great impl, once the UIViewAction dependency is gone as the comment
suggests ;)
Regards
Hanspeter
2014-10-06 17:38 GMT+02:00 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
>
>