Hi,
Please check the values in the parents. This is an example of how this feature works and how you should understand it:
For example, given: /content/parent/page/jcr:content/footer/image/@width
, the HierarchyNodeInheritanceValueMap
will search for a footer/image/@width
property in:
/content/parent/page/jcr:content/footer/image/@width
/content/parent/jcr:content/footer/image/@width
/content/jcr:content/footer/image/@width
Having not found it in any of those locations, it will then return null
.
Note that HierarchyNodeInheritanceValueMap
searches only the page hierarchy. It will not (for instance), look in:
/content/parent/page/jcr:content/footer/@width
Please check more here: https://developer.adobe.com/experience-manager/reference-materials/6-5/javadoc/com/day/cq/commons/in...
Hope this helps.
Esteban Bustamante