springboot themleaf 开发笔记
<form id="form-query" th:action="@{/member-score/rule-save}" th:object="${memberScoreRuleVo}" method="post" class="form-horizontal">
<select id="actionId" name="actionId" class="form-control">
<option th:each="item:${memberScoreRuleVo.actions}" th:value="${item.id}" th:text="${item.name}" ></option>
</select>
href="" th:href="@{/member-score/rule-on(id=${rule.id})}" >增加</a>
<tr th:each="rule:${offRules}">
<td th:text="${rule.id}"></td>
<dd th:text="${#numbers.formatDecimal(product.price, 1, 2)}">180</dd>
<dt>进货日期</dt>
<dd th:text="${#dates.format(product.availableFrom, 'yyyy-MM-dd')}">2014-12-01</dd>
<div th:text="${html}">
This is an <em>HTML</em> text. <b>Enjoy yourself!</b>
</div>
<div th:utext="${html}">
This is an <em>HTML</em> text. <b>Enjoy yourself!</b>
</div>
/*<![CDATA[*/
/*]]>*/
th:value="*{#dates.format(giftsVo.endInboundTime, 'yyyy-MM-dd HH:mm:ss')}"
th:value="*{#dates.format(giftsVo.strInboundTime, 'yyyy-MM-dd HH:mm:ss')}"
script th:inline="javascript">
/*<![CDATA[*/
jQuery().ready(function(){
/*[[${pageHelper.documentReady}]]*/
});
/*]]>*/
</script>