[weld-dev] @Inject FacesContext
Dan Allen
dan.j.allen at gmail.com
Fri Nov 13 12:41:51 EST 2009
http://anonsvn.jboss.org/repos/weld/extensions/trunk/faces/
Currently only in trunk, but it will be there for you in a future release of
Weld Extensions.
Ironically, I had already prototyped this in Seam 3. So it was just a matter
of moving it over. Not that it isn't completely trivial.
-Dan
On Tue, Nov 10, 2009 at 5:30 PM, Gavin King <gavin.king at gmail.com> wrote:
> class FacesContextProducer {
> @Produces @RequestScoped FacesContext getFacesContext() {
> return FacesContext.getCurrentInstance();
> }
> }
>
>
--
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/weld-dev/attachments/20091113/f51540df/attachment.html
More information about the weld-dev
mailing list