neharob / prettyfaces

Automatically exported from code.google.com/p/prettyfaces
0 stars 0 forks source link

PrettyFacesWrappedResponse should not rely on FacesContext #78

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
http://ocpsoft.com/support/topic/npe-with-tomahawk-tswapimage

Related forum discussion ^^

Original issue reported on code.google.com by lincolnb...@gmail.com on 24 Nov 2010 at 7:12

GoogleCodeExporter commented 9 years ago
This should be fixed now. The class now works without FacesContext and 
PrettyContext. All the class needs is the PrettyConfig instance and the context 
path. Both are injected via the constructor.

The example that reproduced this issue works now:

https://github.com/chkal/prettyfaces-tests

I'll close this issue as soon as the reporter of this bug confirms that 
everything is fine now.

Original comment by chkalt on 11 Dec 2010 at 6:45

GoogleCodeExporter commented 9 years ago
I like this resolution; it can always be changed later. Let's close this - I 
trust your test-case.

Original comment by lincolnb...@gmail.com on 13 Dec 2010 at 5:28