in the Html page, using el expressions, there is no problem binding backstage values, but how to use background methods to deal with values?
<th:block th:each="post : ${users.list}">
<tr th:cid="${post.uid}">
<td><th:block th:text="${post.created}"/></td>
<td><th:block th:text="${com.gateway.website.utils.Commons.fmtdate(post.created)}"/></td>
</tr>
</th:block>
The fmtdate method is a method that converts a timestamp to a date.
it is worthwhile to write the first td alone, but if you write the second one, you will report an error.
you don"t know how to use it, or what the fmtdate method is going to do to guide you. Thank you