<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<title>Spring-MVCデータモデルの入力チェックサンプル</title>
<meta charset="UTF-8" />
</head>
<body>
<table th:object="${PromenadeFormData}">
<tr>
<td>私の名前は「<span style="color:blue;" th:text="*{myname}">ウルトラ花子</span>」です。</td>
</tr>
<tr>
<td>私の年齢は「<span style="color:blue;" th:text="*{age}">教えてあげない</span>」です。</td>
</tr>
<tr>
<td>私の電話番号は「<span style="color:blue;" th:text="*{phone}">教えてあげない</span>」です。</td>
</tr>
<tr>
<td>私のemailは「<span style="color:blue;" th:text="*{email}">教えてあげない</span>」です。</td>
</tr>
<tr>
<td>私の好きなものは「<span style="color:blue;" th:text="*{favorite}">教えてあげない</span>」です。</td>
</tr>
</table>
</body>
</html>
|