xmlns:th="http://www.w3.org/1999/xhtml"

<tr th:each="user,i : ${list}" th:class="${i.odd}?'odd'">
<td th:text="${user.username}"></td>
<td th:if="${user.sex}==1">男</td>
<td th:if="${user.sex}==0">女</td>
<td th:text="${user.phone}"></td>
<td th:text="${#dates.format(user.borthday, 'yyyy-MM-dd')}"></td>
<td>
<input type="button" value="删除" th:onclick="'getName(\''+${user.id}+'\')'">
</td>
</tr>

<table border="0" width="100%" cellspacing="0" cellpadding="0">
<!--数字循环-->
<!-- <tr class="pagination" th:each="i : ${#numbers.sequence(1, rows)}">
<td>[[${i}]]</td>
</tr>-->
<!--嵌套循环-->
<tr class="pagination" th:each="i : ${#numbers.sequence(1, rows)}">
<td th:each="deptDict,userStat : ${deptDicts}"
th:if="${userStat.index lt i*4 and userStat.index ge (i-1)*4}">
<input type="checkbox" th:value="${deptDict.deptCode}" name="deptCode">
<span th:text="${deptDict.deptName}"></span>
</td>
</tr>

最新文章

  1. Cach&#233;数据库学习笔记(5)
  2. hibernate3
  3. Linux C _exit函数与exit函数的联系与区别
  4. ZOJ Monthly, July 2015
  5. ***redis linux 命令使用总结
  6. 证明:寝室分配问题是NPC问题
  7. Convert boolean values to strings &#39;Yes&#39; or &#39;No&#39;.
  8. python-MySQLdb-练习
  9. [转载]python os.path模块
  10. linux 输入输出重定向
  11. JavaScript 之 HelloWorld编写
  12. Volatile和Synchronized对可见性和原子性的支持
  13. 自学Zabbix3.9.3-模板Templates-嵌套Nesting
  14. R贡献文件中文
  15. [Alpha阶段]发布说明
  16. PHP实现url参数组合字符串与数组相互转换
  17. centos服务器监控 服务器虚拟机里面的客户端zabbix-agent安装
  18. 深入浅出 Java 中的包装类
  19. 使用Deeplearning4j进行GPU训练时,出错的解决方法
  20. 3994: [SDOI2015]约数个数和

热门文章

  1. 图论之最短路径 Floyd算法
  2. Switchquery:移动端秒级配置触达平台
  3. js手动触发页面元素点击事件,自定义点击事件模拟点击
  4. Linux系统对于实施人员的价值
  5. 遗忘的pawn 创建
  6. js提交数据
  7. 客户端发送信息给服务器以及服务器接收客户端发来的信息(socket)
  8. Neo4j插件安装
  9. 虚拟机中 Linux 提示“设备上没有空间”,扩容磁盘
  10. matlab简单区间列频数统计输出