Thymeleaf
文章平均质量分 55
sunjingyan
你不是真正的快乐
展开
-
using thymeleaf 之 th:each迭代循环
th:each属性用于迭代循环,语法:th:each="obj:${objLis}"原创 2014-11-02 15:49:32 · 131178 阅读 · 7 评论 -
using thymeleaf之十一内联
11 thymeleaf内联语法内联使用属性th:inline来设置,原创 2014-10-20 14:07:38 · 7516 阅读 · 0 评论 -
using thymeleaf之九属性优先级
9 th:* 属性优先级原创 2014-10-20 13:41:22 · 1174 阅读 · 1 评论 -
using thymeleaf之八th:with定义局部变量
8 定义布局变量th:with属性的用法原创 2014-10-20 13:27:54 · 10024 阅读 · 0 评论 -
using thymeleaf之六th:text/th:utext属性
6.1 th:text属性l可对表达式或变量求值,并将结果显示在其被包含的 html 标签体内替换原有html文本l文本链接: l用“+”符号,若是变量表达式也可以用“|”符号原创 2014-10-18 20:35:59 · 15978 阅读 · 3 评论 -
using thymeleaf之五条件表达式
5.条件表达式e.g.1.原创 2014-10-18 20:22:59 · 7970 阅读 · 0 评论 -
using thymeleaf之一thymeleaf认识
首先,介绍一下什么是thymeleaf。thymeleaf是基于原创 2014-10-18 18:53:59 · 2928 阅读 · 0 评论 -
using thymeleaf之三文字
3.文字3.1 文本......3.2 数字The year is 1492.In two years, it will be 1494.3.3 布尔值:true,false3.4 null:null3.5 文字符号:one, sometext, main,…原创 2014-10-18 20:19:29 · 1435 阅读 · 2 评论 -
using thymeleaf之四操作符
4.1算术操作符+, -, *, /, %e.g.+:1+1.-: 2-1.*:2*3./: 9/4.%:9%4.原创 2014-10-18 20:23:47 · 3591 阅读 · 0 评论 -
using thymeleaf之七设置属性的值(th:attr/th:value/th:alt-title/th:attrappend/th:attrprepend/th:checked)
7.1 th:attr用于设置其他属性的值,但不是所有属性的值都能设置,如text。原创 2014-10-18 20:44:48 · 24075 阅读 · 1 评论 -
using thymeleaf之二简单表达式
2 thymeleaf标准方言2.1简单表达式原创 2014-10-18 19:14:05 · 4058 阅读 · 0 评论 -
using thymeleaf之十模板注释
10 注释10.1 标准html/xnl注释原创 2014-10-20 13:59:22 · 6138 阅读 · 0 评论