how can i read design dialog data for a component using sling model ? i'm using static template in my project .
Solved! Go to Solution.
Views
Replies
Total Likes
Get the reference to the currentStyle
@ScriptVariable
private Style currentStyle;
Get the properties from currentStyle
String prop1= currentStyle.get("prop1", String.class);
Views
Replies
Total Likes
You can use the "com.day.cq.wcm.api.designer.Design" API. More details at [1]
[1] Design ("The Adobe AEM Quickstart and Web Application.")
Views
Replies
Total Likes
Get the reference to the currentStyle
@ScriptVariable
private Style currentStyle;
Get the properties from currentStyle
String prop1= currentStyle.get("prop1", String.class);
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies