[weld-dev] @Inject FacesContext

Gavin King gavin.king at gmail.com
Tue Nov 10 16:06:57 EST 2009


I didn't put it in, since I figured it was hard to justify that this
is better than FacesContext.getCurrentInstance().

And 'cos I assumed that we were going write a portable extension with
various "useful" JSF-related things.

I can add it in the maintenance release if you really think its important.

On Tue, Nov 10, 2009 at 3:50 PM, Dan Allen <dan.j.allen at gmail.com> wrote:
> Is the following injection going to be supported in Java EE 6?
>
> @Inject FacesContext ctx;
>
> Because I can't even begin to count how many times I'm going to need that
> when developing apps. Probably the #1 injection in JSF apps.
>
> (True, I could make a producer method myself, but so will the n-thousand
> other JSF developers).
>
> -Dan
>
> --
> Dan Allen
> Senior Software Engineer, Red Hat | Author of Seam in Action
> Registered Linux User #231597
>
> http://mojavelinux.com
> http://mojavelinux.com/seaminaction
> http://www.google.com/profiles/dan.j.allen
>
> _______________________________________________
> weld-dev mailing list
> weld-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/weld-dev
>



-- 
Gavin King
gavin.king at gmail.com
http://in.relation.to/Bloggers/Gavin
http://hibernate.org
http://seamframework.org


More information about the weld-dev mailing list