Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.0.0-beta
-
None
Description
Spec was recently updated to define support for ability of GFP to read a portlet init parameter (javax.portlet.faces.defaultrenderKitId). And as a side effect add a new public method getDefaultRenderKitId(). The GFP init() calls this method (which by default reads from the portlet.xml init param) and sets a portlet context attribute (namespaced by the portlet) so the bridge will know to override any default in the faces-config.xml. The bridge is then supposed to recognize this context attribute and on every request (if it exists) to expose the ResposneStateManger.RENDER_KIT_ID_PARAM as a parameter in the ExternalContexts param maps with the provided value. This is only done if the request doesn't already contain this parameter.
Anyway – need to update the GFP/ExternalContextImpl/Bridge impl to support this.