Hi I wanted to extend navigation core component. I have created a proxy component without any html and just
slingResourceSuperType = "core/wcm/components/navigation/v1/navigation"
I have my custom model class where I am trying to build my custom navigation items. but unfortunately when I call this proxy component inside a HTL using below command doesn't invoke my custom model class.
<sly data-sly-resource="${resource @ resourceType='path/to/custom/proxy/navigation'}">
How can I reuse core component html with my custom model class?
Solved! Go to Solution.
Views
Replies
Total Likes
@srikanth7792 , Please check the below post and video in this blog, it explains how the model class is invoked based in resource type
@srikanth7792 , Please check the below post and video in this blog, it explains how the model class is invoked based in resource type
I believe you need to over ride the html in your component as well
Views
Likes
Replies