随笔分类 -  thymeleaf

摘要:th:field="*{Ygdly.dlrlx}" 这个代表要匹配的数据。 阅读全文
posted @ 2018-06-15 13:40 GordonDicaprio 阅读(9237) 评论(0) 推荐(1) 编辑
摘要:带有单引号 targetUrl('val') 不带有单引号: targetUrl(val) thymeleaf传值onclick到js <div th:onclick="'javascript:themPage(\''+theme.value+\',\'+{theme.type}+'\' 阅读全文
posted @ 2018-05-16 10:11 GordonDicaprio 阅读(1795) 评论(0) 推荐(0) 编辑
摘要:本篇介绍些thymeleaf中的日期格式化的方法: 1.用#dates.format来解决: 2.在当前的项目中还有这样一种情况,就是无法直接把需要thy表达式的放在标签里,因为他可能是在js里面拼接的。如下: 这里面course.startTime 就是你要拼接放进去的数据。 如果还有其它方法如果 阅读全文
posted @ 2018-04-03 16:54 GordonDicaprio 阅读(1075) 评论(0) 推荐(0) 编辑
摘要:thymeleaf:字符串Strings常见的使用方法 阅读全文
posted @ 2018-04-03 16:10 GordonDicaprio 阅读(2670) 评论(0) 推荐(0) 编辑
摘要:thymeleaf+bootstrap,onclick传参实现模态框中遇到的错误 thymeleaf下设置onclick属性 阅读全文
posted @ 2018-04-03 15:31 GordonDicaprio 阅读(931) 评论(0) 推荐(0) 编辑
摘要:Thymeleaf教程 (十二) 标签内,js中使用表达式 阅读全文
posted @ 2018-04-03 15:21 GordonDicaprio 阅读(1978) 评论(0) 推荐(0) 编辑
摘要:spring boot(四):thymeleaf使用详解 阅读全文
posted @ 2018-04-02 13:24 GordonDicaprio 阅读(180) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示