Level 1
Level 2
Sign in to Community
Learn more
Sign in to view all badges
Expand my Community achievements bar.
https://docs.adobe.com/docs/en/aem/6-0/develop/sightly/use-api-in-java.html
<div data-sly-use.asset="com.day.cq.dam.api.Asset"> <p>${asset.mimeType}</p></div>
This isn't working for me.
Similarly, I have tried adapting resource to Product
<div data-sly-use.product="com.adobe.cq.commerce.api.Product"> <p>${product.title}</p> </div>
Getting Exception
Solved! Go to Solution.
See this AEM article: Creating your first Adobe Experience Manager Sightly component
it talks about using Sighty and Java.
Here is more of an in-depth one that uses Sightly, Java, Sling Models and JSOUP API to build a DOM Parser component - another good community article:
Creating a Sightly and Sling Model DOM parser component
View solution in original post
Views
Likes
Replies