Re: Default text inside <textarea> only visible without th:field attribute
The reason th:field attribute exists is to replace the value of a form field with the contents of the specified variable (foobar in this case). If you want to default text to the textarea you should either:
1) Set the contents of foobar in the controller itself, before the page is rendered. e.g. object.setFoobar("
2) Use some alternative... such as the html 5 placeholder element.