You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bu...@apache.org on 2017/05/24 10:35:03 UTC

svn commit: r1012812 - in /websites/staging/sling/trunk/content: ./ documentation/bundles/context-aware-configuration/context-aware-configuration.html

Author: buildbot
Date: Wed May 24 10:35:03 2017
New Revision: 1012812

Log:
Staging update by buildbot for sling

Modified:
    websites/staging/sling/trunk/content/   (props changed)
    websites/staging/sling/trunk/content/documentation/bundles/context-aware-configuration/context-aware-configuration.html

Propchange: websites/staging/sling/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Wed May 24 10:35:03 2017
@@ -1 +1 @@
-1795902
+1796037

Modified: websites/staging/sling/trunk/content/documentation/bundles/context-aware-configuration/context-aware-configuration.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/bundles/context-aware-configuration/context-aware-configuration.html (original)
+++ websites/staging/sling/trunk/content/documentation/bundles/context-aware-configuration/context-aware-configuration.html Wed May 24 10:35:03 2017
@@ -263,6 +263,8 @@ the applications/libraries you use, or y
 </pre></div>
 </td></tr></table>
 
+<p>If you want to access nested configurations you have to use a slash "/" as separator in the property name. Example:</p>
+<p>${caconfig['x.y.z.ConfigSample']['nestedConfig/stringParam']}</p>
 <h1 id="context-aware-configuration-bnd-plugin">Context-Aware Configuration bnd plugin<a class="headerlink" href="#context-aware-configuration-bnd-plugin" title="Permanent link">&para;</a></h1>
 <p>A <a href="http://bnd.bndtools.org/">bnd</a> plugin is provided that scans the classpath of a bundle Maven project at build time and automatically generates a <code>Sling-ContextAware-Configuration-Classes</code> bundle header for all annotation classes annotated with <code>@Configuration</code>. It can be used by both <a href="http://felix.apache.org/documentation/subprojects/apache-felix-maven-bundle-plugin-bnd.html">maven-bundle-plugin</a> and <a href="https://github.com/bndtools/bnd/tree/master/maven">bnd-maven-plugin</a>, as both use the bnd library internally.</p>
 <p>Example configuration:</p>
@@ -372,7 +374,7 @@ the applications/libraries you use, or y
 <li><a href="https://adapt.to/2016/en/schedule/sling-context-aware-configuration.html">Sling Context-Aware Configuration - Talk from adaptTo() 2016</a></li>
 </ul>
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
-        Rev. 1795504 by sseifert on Thu, 18 May 2017 11:28:59 +0000
+        Rev. 1796037 by sseifert on Wed, 24 May 2017 10:34:46 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project