How to pass value from .html file to .hbs file? I tried using request.setAttribute() request.getAttribute() in a .js file and accomplish this. But got struck here below.
The code below is what I will use to make it work from a .html file.
<dl data-sly-use.attrs="${'producers-place/components/utils/getAttributes.js' @ names = ['ratingPath']}" data-sly-list="${attrs}">
<div class="scf scf-ratings" data-component-id="${attrs[item]}" data-scf-component="social/tally/components/hbs/rating">
How shall I write the above same in .hbs file? Could you help me figure that out or point me to a resource where I can learn more about it?
Solved! Go to Solution.
Views
Replies
Total Likes
There is no community content on how to pass parameter values from a Sightly file to a HandleBar file. The closest article is passing to Java:
http://blogs.adobe.com/experiencedelivers/experience-management/sightly-intro-part-4/
I have asked some of the Eng team to look at this.
Views
Replies
Total Likes
There is no community content on how to pass parameter values from a Sightly file to a HandleBar file. The closest article is passing to Java:
http://blogs.adobe.com/experiencedelivers/experience-management/sightly-intro-part-4/
I have asked some of the Eng team to look at this.
Views
Replies
Total Likes
Thanks Scott.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies