I want to iterate a loop based on Integer value in sightly like if integer value is 5 then loop will iterate five times.
I know a way to do this using JSTL in jsp page :
<c:forEach var="item" begin="1" end="${properties.value}" varStatus="loop">
//statement
</c:forEach>
above in "end" im getting value from dialog, if i'm passing value like 5 then the loop will get execute 5 times.
I referred below link :
I have done several google searches as well and i do not find any examples of this scenario, every example is based on sightly List.
I want to do this using sightly based on passed integer value from dialog.
Thanks,
Arpit Bora