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!
解決済! 解決策の投稿を見る。
表示
返信
いいね!の合計
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
表示
返信
いいね!の合計
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
表示
返信
いいね!の合計
Hi @arunpatidar
Is there any core component that has been developed through sling model exporter in cloud sdk that I can refer ?
表示
返信
いいね!の合計
Hi @JakeCham
I believe all are the core component are developed with Sling model exporter, example
表示
返信
いいね!の合計
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.
表示
返信
いいね!の合計
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...
表示
返信
いいね!の合計