AEM sightly Binding Issue.!

Avatar

Avatar

imadullakhan

Avatar

imadullakhan

imadullakhan

03-06-2020

Hi @All,

 

I am facing slightly AEM binding issue, I have some value for rating which is coming from somewhere that value I need to bind in below this html and the value will be example : 2.5 this value I need to bind in the html can anyone help me please.

And the Html is like this --->

 

<div class="rating" id="ratings">
<input type="radio" name="rating" value="5" id="5">
<label for="5">&#x2605;</label>
<input type="radio" name="rating" value="4" id="4">
<label for="4">&#x2605;</label>
<input type="radio" name="rating" value="3" id="3">
<label for="3">&#x2605;</label>
<input type="radio" name="rating" value="2" id="2">
<label for="2">&#x2605;</label>
<input type="radio" name="rating" value="1" id="1">
<label for="1">&#x2605;</label>
</div>

 

if i can bind means i would to get visible the CSS.

Here &#x2605; is some CSS configuration value.

View Entire Topic

Avatar

Avatar

Nupur_Jain

MVP

Avatar

Nupur_Jain

MVP

Nupur_Jain
MVP

03-06-2020

Hi @imadullakhan 

 

Can you specify in more detail from where the rating value is coming and what is you trying at your side that is giving an error? Also mention the final html output you desire.