Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-Alpha2
-
Fix Version/s: 2.0-Alpha3, 2.0.0
-
Component/s: None
-
Labels:None
-
Environment:ICEfaces 2.0 compat
-
Affects:Compatibility/Configuration
Description
ICEfaces 2.0 compat SessionRenderer.render() currently fails when invoked from non-JSF threads.
Stored a PortableRenderer in a static field to be later used in render calls that are not initiated on JSF threads. The PortableRenderer instance is acquired using a system event listener. The listener is invoked on PostConstructApplicationEvent event which allows the code to get to the FacesContext instance as soon as possible during application startup.