title: How to Breakable Loop in Play Framework template
body: <p>I am using playFramework 2.1 </p>
  
  <p>I would like to break a for loop in a playFramework template.</p>
  
  <p>This is my Code :</p>
  
  <pre><code>@breakable {
     @for((item, count) &lt;- list.zipWithIndex) {
         &lt;tr&gt;
             &lt;td&gt;@item.id&lt;/td&gt;
             &lt;td&gt;...&lt;/td&gt;
         &lt;/tr&gt;
         @if(count &gt; 5){
             @println("break")
             @break
         }
      }
  }
  </code></pre>
  
  <p>But It doesn't work - it displays nothing html tag. It only works for <code>println</code> play console.</p>