Carsten Ziegeler created SLING-6239:
---------------------------------------

             Summary: Support relative references in 
DefaultConfigurationResourceResolvingStrategy
                 Key: SLING-6239
                 URL: https://issues.apache.org/jira/browse/SLING-6239
             Project: Sling
          Issue Type: New Feature
          Components: Extensions
            Reporter: Carsten Ziegeler
            Assignee: Carsten Ziegeler
             Fix For: Context-Aware Configuration Impl 1.0.2


If the value from the sling:confRef property is relative, the parent
hierarchy of the context resource is traversed up to find a context
resource with an absolute property. Once found, these are concatenated.
For example
/content/a
    + sling:confRef=/conf/a
/content/a/b
    + sling:confRef=b

If you try to find configurations for /content/a/b it searches in
/conf/a/b first, then /conf/a



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to