The Sling Resource Merger provides services to access and merge resources. It provides diff (differencing) mechanisms for both:
- Overlays of resources using the configured search paths.
- Overrides of component dialogs for the touch-optimized UI (cq:dialog), using the resource type hierarchy (by means of the property sling:resourceSuperType).
With the Sling Resource Merger, the overlay/override resources and/or properties are merged with the original resources/properties:
- The content of the customized definition has a higher priority than that of the original (i.e. it overlays or overrides it).
- Where necessary, properties defined in the customization, indicate how content merged from the original is to be used.