@Manjunath_K, my model class is SlingHttpServletRequest adaptable, when I pass @ index = 2 it works, but when I pass imgList.index it does not take dynamic value. It always gives 0 when I make it as int, null when it is String
I want pass list index value to sling model.<sly data-sly-list.img="${guide.itemsList}"><span>index: ${imgList.index}</span><sly data-sly-use.multi="${'com.mycom.....MultiField' @ index=${imgList.index}' " />This gives me null value at model. I tried to with pass with quotes , it gets passed as str...