Hi All,
Is there a way I can get a property of a component dragged in parent's iParsys, into all the children pages/nodes?
I want it in java model class. I tried using following:
InheritanceValueMap iProperties = new HierarchyNodeInheritanceValueMap(resource);
iProperties.getInherited("property", String.class);
I want all properties on component into child component.
Please help.
Views
Replies
Total Likes
Can you explain your use case bit more clearly ?
Views
Replies
Total Likes
Hi Veena,
I have a hierarchy of pages and using iParsys in page template.
If i add a component in iParsys, i want the same component properties in child pages as well, so that i can use them in child page as well.
Since, the jcr:content node doesn't contain iParsys in child, i am getting null pointer while i am trying to access it.
But as per iParsys concept, the contents gets inherited to all child pages if inheritance is intact.
Is there a way i can get the parent iParsys contents in child pages?
Views
Replies
Total Likes