Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.0-incubating-core-SNAPSHOT
-
None
-
JSF1.2
Description
In JSF1.1, the configurators in trinidad would need to override the ExternalContext object in order to provide access to functionality on the native Request and Response. These wrappers simply overrode functionality impacted by the wrapped object. This was somewhat error prone and left a lot of room for issues. As of JSF 1.2 there are setRequest and setResponse methods on the ExternalContext which allows you to switch out these objects but still rely on the container's implementation. The JSF 1.2 version of Trinidad should use this mechanism where possible.