入門レッスン
thymeleafの利用
thymeleafの利用
SpringBootの画面表示するためのテンプレートエンジン「Thymeleaf」を学びます。 「HTML + 独自の式言語」で記述可能であるThymeLeafの学習を通じて、その概要と、Webアプリケーションの画面表示の基礎を習得します。
目安:1時間0分
スキル一覧
thymeleafとは
名前空間指定(xmlns:th)
th:text
Model(モデル)
model.addAttribute
Dialect(変数式)
Dialect (フィールドの利用)
選択変数式
Dialect (メソッドの利用)
リンク式 thymeleaf
コメント
th:if
th:unless
th:each
ローカル変数(th:with)
th:insert