Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.2-core
-
None
-
n/a
Description
The ServeletExternalContext extension of the external context doesn't implement the "encodeRedirectURL" method and ends up calling on the base "JSF RI" implementation in ExternalContext. This code is even more confusing as it reference a private "defaultExternalContext" that has no way to set its value. Odd way to implement an abstract interface class IMO.
public String encodeRedirectURL(String baseUrl,
Map<String,List<String>> parameters) {
if (defaultExternalContext != null)
{ return defaultExternalContext.encodeRedirectURL(baseUrl, parameters); }throw new UnsupportedOperationException();
}
We need to implement a few more of these newer JSF 2 signatures on the ServeletExternalContext.