Context Aware Configuration : Context Path Strategy
I was working on a solution which involves introduction of sling context aware configuration to the application. When I explain the design to my manager, he agreed on all implementation steps except the default mapping of configuration with content using sling:configRef property. He pointed me out some of the challenges that may come while adding the property to the already running multi-locale site with experience fragments. Since the design was so impressive, I was keen to implement it somehow with very less interference with content. So I started searching for a way more suitable to our requirement and I found something called "Context Path Strategy". This is something not very new but availability of resources specially for new developer are very limited so thought of walking through the implementation via this post. So what this Context Path Strategy is ? To implement context aware configuration, you will have to set sling:configRef property to every parent nodes of y