Get child node property from currentStyle object in sightly/ HTL
Hi All
i am trying to get a property from a child node of the currentStyle HTL object.
have the below structure
/etc/designs/abc
basepage(page component)
|_
header (property)
i am trying to get a property saved in header node in base page component html
Able to read property from currentStyle, which gives basepage path.
I am trying to get a property from the header node under basepage.
there is a getsubstyle method in the Style class. but not able to get that to work
Style (The Adobe AEM Quickstart and Web Application.)
TIA