Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-3657

Create a ResourceMerger-style ResourceProvider which merges based on resource super types

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • Resource Merger 1.2.0
    • Extensions
    • None

    Description

      The current MergingResourceProvider does a good job of a single use case - merging resources relative to the search paths. A second use case for merging is to merge resources based on their sling:resourceSuperType inheritance, i.e.

      /content/siteA@sling:resourceSuperType=/content/siteB
      /content/siteB@sling:resourceSuperType=/content/siteC

      It should be possible to generate a merged resource which combines /content/siteA, /content/siteB, and /content/siteC (in reverse order so that siteA overrides siteB, etc.).

      Attachments

        1. SLING-3657.patch
          46 kB
          Justin Edelson

        Activity

          People

            justinedelson Justin Edelson
            justinedelson Justin Edelson
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: