title: How to use an integer value in sightly to iterate loop as many time of value?
body: <p>I want to <strong>iterate a loop based on Integer value in sightly</strong> like if integer value is 5 then loop will iterate five times.</p>
  
  <p>I know a way to do this using JSTL in jsp page :</p>
  
  <pre><code>&lt;c:forEach var="item" begin="1" end="${properties.value}" varStatus="loop"&gt;
      //statement
  &lt;/c:forEach&gt;
  </code></pre>
  
  <p>above in "end" <strong>im getting value from dialog</strong>, if i'm passing value like 5 then the loop will get execute 5 times.</p>
  
  <p>I referred below link :</p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/37347756/iteration-for-loop-in-sightly">Iteration For Loop in sightly</a></li>
  </ul>
  
  <p>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.</p>
  
  <p><strong>I want to do this using sightly based on passed integer value from dialog.</strong></p>
  
  <p>Thanks,</p>
  
  <p>Arpit Bora</p>