You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2016/11/03 17:01:58 UTC

[jira] [Resolved] (SLING-6239) Support relative references in DefaultConfigurationResourceResolvingStrategy

     [ https://issues.apache.org/jira/browse/SLING-6239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler resolved SLING-6239.
-------------------------------------
    Resolution: Fixed

> 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)