Hi team,
I am trying to get into cloud implementations through core component where I checked button component as per initiative. Is there a way I can check the code base of com.adobe.cq.wcm.core.components.models.button implementation class. Only interface is available on adobe github.
Thanks!
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
Here is the github code https://github.com/adobe/aem-core-wcm-components/tree/main/bundles/core/src/main/java/com/adobe/cq/w...
The logic is inside internal folder
Views
Replies
Total Likes
Hi,
Here is the github code https://github.com/adobe/aem-core-wcm-components/tree/main/bundles/core/src/main/java/com/adobe/cq/w...
The logic is inside internal folder
Views
Replies
Total Likes
Hi @arunpatidar
Is there any core component that has been developed through sling model exporter in cloud sdk that I can refer ?
Views
Replies
Total Likes
Hi @JakeCham
I believe all are the core component are developed with Sling model exporter, example
Views
Replies
Total Likes
Hi @arunpatidar
But still from libs/core/wcm/components/button/v2/button/button.html , data has been fetched like below.
<button data-sly.use.button="com.adobe.cq.wcm.core.components.models.Button"/>
${button.text}
</button>
really appreciate if you can explain an example how model class data can be fetched from react component using api endpoint of the model class exporter.
Views
Replies
Total Likes
So com.adobe.cq.wcm.core.components.models.Button is an interface but the implementation is at https://github.com/adobe/aem-core-wcm-components/blob/6a102d1d5879d142123a547c00e2d226e475a636/bundl...
Views
Replies
Total Likes
Views
Likes
Replies