Let us understand this with below example,
Given:
Note that
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
null
. Note that
HierarchyNodeInheritanceValueMap
searches only the page
hierarchy. It will not (for instance), look in:
/content/parent/page/jcr:content/footer/@width
Refer:
https://dev.day.com/docs/en/cq/current/javadoc/com/day/cq/commons/inherit/HierarchyNodeInheritanceValueMap.html
No comments:
Post a Comment