0
It is possible to give information ubmit from within a using Thymeleaf?
Example:
<form method="post" th:action="@{/receive}" th:object="${objeto}" >
<input type="text" th:field="*{nome}"/>
<table>
<thead>
<tr>
<th>Produto</th>
</tr>
</thead>
<tbody>
<tr>
<td>palavra de testes</td>
</tr>
</tbody>
</table>
<button type="submit">Enviar dados</button>
</form>
In this case when I click the Submit button, in my object only the name attribute will be populated, but in that same object I have an attribute of type List that I would like to popular from the values inside < table >. It is possible?