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

[jsr372-experts] Re: [jsr372-experts mirror] [1311-FacesContextCDI] Let CDI handle #{facesContext}

From: arjan tijms <arjan.tijms_at_gmail.com>
Date: Mon, 6 Oct 2014 17:43:55 +0200

Hi,

On Mon, Oct 6, 2014 at 5:20 PM, manfred riem <manfred.riem_at_oracle.com> wrote:
> As part of the CDI alignment I think it is entirely feasible to have the CDI
> runtime handle the EL resolving of #{facesContext}.

As some background; it's currently handled (at least in Mojarra) by a
custom EL resolver; com.sun.faces.el.ImplicitObjectELResolver

The question would thus boil down to ELResolver vs CDI @Named (or
extension equivalent). Haven't looked into the issue in depth, but
things to consider might be the possibility to override the name or
not and whether some order for resolving changes.

Kind regards,
Arjan