Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.1.8
-
None
-
Tomahawk on JSF RI within the JBOSS Portlet Bridge, the portlet bridge fails to resolve the Encoding and throws an UnsupportedOperationException. Resolving fails in the PortletExternalContextWrapper, which lacks a getRequestCharacterEncoding.
Description
PortletExternalContextWrapper implements
setResponseCharacterEncoding
getResponseCharacterEncoding,
setRequestCharacterEncoding,
but not a getRequestCharacterEncoding.
When the wrapper is used as the external faces context in a portlet bridge (e.g. JBOSS portlet bridge), the resolving of the RequestCharacterEncoding defaults to the inherited method from ExternalContext (which returns an invalid encoding).
Implementing getRequestCharacterEncoding analogue to getResponseCharacterEncoding resolved the issue for me, the PortletExternalContextWrapper now works in a portlet environment.
The Bug prevents usage of Tomahawk within the JBOSS portlet bridge.