Views
Replies
Total Likes
@sangrampatil111 When you say inheriting parent properties, do you mean inheriting it via JavaCode?
You can achieve it by using InheritanceValueMap in your Model.
import com.day.cq.commons.inherit.InheritanceValueMap; import com.day.cq.commons.inherit.HierarchyNodeInheritanceValueMap; @ScriptVariable private Page currentPage; ... InheritanceValueMap ivm = new HierarchyNodeInheritanceValueMap(currentPage.getContentResource()); String inheritedValueMyCustomProperty = ivm.getInherited("myCustomerProperty", String.class); String inheritedValueJcrTitle = ivm.getInherited("jcr:title", String.class);
No. Not through Java.
Please explain your requirement.
Can you please check inheritance stat level property anywhere? Parent page should have Iparsys or Experience fragment for header and footer.
Views
Likes
Replies