How to grab textarea data using thymeleaf
<p>I have an array with fields, of which I've output onto html using textareas so that a user can edit them and save them again.</p>

<p>I can set the data using a set method I have, but I'm not sure how to get the textarea text the user entered to pass it into the method. I'm using Thymeleaf also. </p>

<pre><code>&lt;td&gt;
   &lt;textarea name = "fitNumber" class="form-control input-sm" rows="1"
                                    th:value="${fit.setFitNumber(Need value set here)}"&gt;
   &lt;/textarea&gt;
&lt;/td&gt;
</code></pre>

<p><strong>Edit</strong></p>

<p>I'll rephrase a little, as it reads incorrectly.</p>

<p>Can you pass a variable within a setter in Thymeleaf. 
e.g. <code>${person.setName(name)}</code></p>

<p>also, can that argument being passed be the text within a <code>&lt;textarea&gt;&lt;/textarea&gt;</code>?</p>

<p>I'm not sure how to get the textarea text and pass it inside a setter method within thymeleaf.</p>