Uploaded image for project: 'MyFaces Portlet Bridge'
  1. MyFaces Portlet Bridge
  2. PORTLETBRIDGE-167

Portlet 2.0 Bridge: update impl to support spec change for config of defaultRenderKitId

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0-beta
    • 2.0.0-beta
    • Impl
    • 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.

      Attachments

        Activity

          People

            mike_freedman Michael Freedman
            mike_freedman Michael Freedman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: