You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Henry Kuijpers (Jira)" <ji...@apache.org> on 2019/11/15 09:34:00 UTC

[jira] [Created] (SLING-8849) CA Config HTL bindings value provider is too limited: Unable to influence the source of adaption

Henry Kuijpers created SLING-8849:
-------------------------------------

             Summary: CA Config HTL bindings value provider is too limited: Unable to influence the source of adaption
                 Key: SLING-8849
                 URL: https://issues.apache.org/jira/browse/SLING-8849
             Project: Sling
          Issue Type: Bug
          Components: Extensions
    Affects Versions: Context-Aware Configuration Impl 1.5.0
         Environment: AEM 6.x
            Reporter: Henry Kuijpers


The provided ConfigurationBindingsValueProvider is too limited, due to missing extension points: It would be beneficial for project implementations to be able to influence the source of adaption for the config. See also the implementation of the getBindings() method: [https://github.com/apache/sling-org-apache-sling-caconfig-impl/blob/master/src/main/java/org/apache/sling/caconfig/impl/ConfigurationBindingsValueProvider.java#L77]. 

This should not be tied to the current resource necessarily, but instead be tied to the current resource by default, but leave options open for overriding this behavior i.e. in CMSes where you might want to use another object to to act as the determinator of the context.

See also the discussion in: [https://wcm-io.atlassian.net/browse/WCON-75]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)