JSF 2.3 @Inject ExternalContext

Starting from the new 2.3 SNAPSHOT builds you can now do:


    @Inject ExternalContext externalContext;
        

Note you will need to make sure you use the latest 2.3 SNAPSHOT build and that you include a faces-config.xml that states version 2.3.

Posted October 13, 2014

Up