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 &lt;em&gt;HTML&lt;/em&gt; text. &lt;b&gt;Enjoy yourself!&lt;/b&gt;
</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>

上一篇:C# 使用winForm的TreeView显示中国城镇四级联动


下一篇:【引】runtime全解析,P2:关于Class 和 MetaClass