[weld-dev] @Inject FacesContext

Gavin King gavin.king at gmail.com
Tue Nov 10 16:51:08 EST 2009


Call FacesContext.setCurrentInstance() :-)

On Tue, Nov 10, 2009 at 4:29 PM, Steven Boscarine
<steven.boscarine at childrens.harvard.edu> wrote:
>
> Gavin King wrote:
>>
>> I didn't put it in, since I figured it was hard to justify that this
>> is better than FacesContext.getCurrentInstance().
>>
>
> How would one unit test a class that has such a call?
>
>
>



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