Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-973

Make CoreRenderKit a REnderKitDecorator

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.6-core, 1.2.6-core
    • 1.0.7-core, 1.2.7-core
    • None
    • None

    Description

      CoreRenderKit assumes that the html_basic will be processed completely before CoreRenderKit is instantiated.
      However, the fix for issue 683 (JSF RI) processes all of the render kits first and only collects the renderers for later processing. This breaks the trinidad assumption.

      The workaround is making the CoreRenderKit a REnderKitDecorator, which just decorates html_basic. RenderKitDecorator finds/registers renderers from the decorated render kit on demand rather than up front, providing protection from faces-config render kit loading ordering issues.

      Attachments

        1. RenderKitDecorate.patch
          5 kB
          Matthias Wessendorf

        Activity

          People

            matzew Matthias Wessendorf
            matzew Matthias Wessendorf
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: