Hi, the current mechanism (implemented in DefaultConfigurationResourceResolvingStrategy) uses the value from the sling:confRef property and validates it against some built-in rules. One of them is discarding relative paths.
We would like to have a hook/SPI for allowing relative paths and for further validation like if the sling:confRef property contains the bucketName "sling:configs", the value should be discarded. So basically what I'm thinking of is an interface with a single method taking the ContextResource and the bucket name and returning a string (absolute path) or null. WDYT? Regards Carsten -- Carsten Ziegeler Adobe Research Switzerland [email protected]
