title: How do I get data in twitter bootstrap progressbar from controller with thymeleaf? I'm kinda new to Spring-mvc and thymeleaf
body: <p>I would like to add data from my controller to present a progressbar in thymeleaf. I tried different approaches but none work. </p>
  
  <pre><code>&lt;div class="progress progress-striped"&gt;
      &lt;div class="progress-bar progress-bar-warning" role="progressbar" **th:aria-valuenow="${model}"** aria-valuemin="0" aria-valuemax="100" **th:style="@{'width:'+ ${percent} +';'}"**&gt;
           &lt;span class="sr-only"&gt;30% Complete (warning)&lt;/span&gt;
       &lt;/div&gt;
  </code></pre>
  
  <p></p>