title: create hidden input with thymeleaf data
body: <p>So basically I have this table in my html page and its almost work as it should</p>
  
  <pre><code>&lt;div th:each="good : ${goodList}"&gt;
  &lt;form action="#" th:action="@{/zamow}"
  th:object="${enterGoodAction}" method="post"&gt;
      &lt;tr&gt;
     &lt;input type="hidden" path="id" value="${good.id}"/&gt; //this input
     &lt;th&gt;&lt;span th:text="${good.name}"/&gt;&lt;/th&gt;
     &lt;th&gt;&lt;span th:text="${good.amount}"/&gt;&lt;/th&gt;
     &lt;th&gt;&lt;span th:text="${good.price}" /&gt;&lt;/th&gt;
     &lt;th&gt;&lt;span th:text="${good.tax}" /&gt;&lt;/th&gt;
     &lt;th&gt;&lt;input type="number" min="1" th:field="*{amount}"/&gt;&lt;/th&gt;
     &lt;th&gt;&lt;input type="submit" value="Zamów" /&gt;&lt;/th&gt;
     &lt;/tr&gt;
  
  &lt;/form&gt;
  </code></pre>
  
  <p>Now what I want to do is create this hidden input which will pass me "good.id" data to my controller but whatever i do with him he is always null. How can i fix it? I think controller works well so the problem is with my input only. Actual imput might looks silly but its my 10th try or something and I was desperate ;/</p>