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

svn commit: r1796037 - /sling/site/trunk/content/documentation/bundles/context-aware-configuration/context-aware-configuration.mdtext

Author: sseifert
Date: Wed May 24 10:34:46 2017
New Revision: 1796037

URL: http://svn.apache.org/viewvc?rev=1796037&view=rev
Log:
nested config in sightly/htl

Modified:
    sling/site/trunk/content/documentation/bundles/context-aware-configuration/context-aware-configuration.mdtext

Modified: sling/site/trunk/content/documentation/bundles/context-aware-configuration/context-aware-configuration.mdtext
URL: http://svn.apache.org/viewvc/sling/site/trunk/content/documentation/bundles/context-aware-configuration/context-aware-configuration.mdtext?rev=1796037&r1=1796036&r2=1796037&view=diff
==============================================================================
--- sling/site/trunk/content/documentation/bundles/context-aware-configuration/context-aware-configuration.mdtext (original)
+++ sling/site/trunk/content/documentation/bundles/context-aware-configuration/context-aware-configuration.mdtext Wed May 24 10:34:46 2017
@@ -145,6 +145,10 @@ Example for accessing a property of a co
 		<li>stringParam: ${item.stringParam}</li>
 	</ul>
 
+If you want to access nested configurations you have to use a slash "/" as separator in the property name. Example:
+
+  ${caconfig['x.y.z.ConfigSample']['nestedConfig/stringParam']}
+
 
 # Context-Aware Configuration bnd plugin