how to call cq overlay in the @Model resourceType
Hello Everyone,
I'm currently fixing an issue on localization of components using
cq/experience-fragments/editor/components/experiencefragment
The approach we are heading at, is by an overlay then extend..
So inside the "apps" I created a folder for the cq/experience-fragments/editor/components/experiencefragment
Then in the experiencefragment I added a sling:resourceSuperType: customs/samplecomponent <---- this is my custom component
Upon observation, I observe that the overlay and extend is working as expected in terms of dialogs but when I call it inside the "IMPL", samplecomponntimpl I cannot call it...
It looks like this:
@Model(resourceType = {"customs/samplecomponent", "cq/experience-fragments/editor/components/experiencefragment"}.....
I tried adding the customs/samplecomponent in the page and the impl is triggered. But when Im calling the cq/experience-fragments/editor/components/experiencefragment in the page the impl is not triggerred.
Did I miss something thats why its not working as expected?