转载大神们笔记

--比较详细的

http://www.importnew.com/25826.html

http://www.niugebbs.com/xdmrhf/1046839.html

https://blog.csdn.net/u014042066/article/details/75614906

https://www.jianshu.com/p/a7056b023df0

--集中常用的

https://www.cnblogs.com/yws710/p/7223379.html

https://blog.csdn.net/howieli_1995/article/details/60479003

各种坑

https://my.oschina.net/u/2338224/blog/1611910

事件中的参数传递方式

th:onclick="'javascript:openBox(\''+${curCabNo}+'\',\''+${box.no}+'\')'"

html中引的js文件

<script src="../static/js/myJs.js" th:src="@{/js/myJs.js}"></script>

iframe的使用

<iframe th:replace = "noticeBook/ej/paging::html" width="100%" height="100%" frameborder="0" scrolling="no"></iframe>
  1. foreach用法:

<tr th:each="NoticeBook,start:${listNoticeBook}">
      <td><input type="checkbox" th:text="${start.index}+1"></td>
      <td th:text="${NoticeBook.docid}">默认</td>
<td th:text="${NoticeBook.docname}">默认</td>
      <td th:text="${NoticeBook.zb_date}">默认</td>
      <td th:text="${NoticeBook.zbcs}">默认</td>
   <td th:if="${NoticeBook.no_start=='1'}">已下载</td>
   <td th:unless="${NoticeBook.no_start=='1'}">未下载</td>
      <td class="last">
       <a href="javascript:void(0);" class="bidding" title="中标"></a>
       <a href="javascript:void(0);" class="cj" title="成交"></a>
      </td>
    </tr>


2.<a>标签直接从后台接受值


 <a th:href="@{${collect.CQGG_SWPT_LINK}}" value="预览">预览</a>

3.thymeleaf th:replace th:include th:insert 的区别

https://blog.csdn.net/austral/article/details/73802396
4.从后台获得值 js中接收
<script type="text/javascript" th:inline="javascript">
var zb_num = [[${zbcs}]];


												

收藏 SpringBoot :thymeleaf 使用详解的更多相关文章

  1. springboot: thymeleaf 使用详解

    springboot:thymeleaf,这篇文章将更加全面详细的介绍thymeleaf的使用.thymeleaf 是新一代的模板引擎,在spring4.0中推荐使用thymeleaf来做前端模版引擎 ...

  2. Springboot mini - Solon详解(二)- Solon的核心

    Springboot min -Solon 详解系列文章: Springboot mini - Solon详解(一)- 快速入门 Springboot mini - Solon详解(二)- Solon ...

  3. SpringBoot之DispatcherServlet详解及源码解析

    在使用SpringBoot之后,我们表面上已经无法直接看到DispatcherServlet的使用了.本篇文章,带大家从最初DispatcherServlet的使用开始到SpringBoot源码中Di ...

  4. SpringBoot Profile使用详解及配置源码解析

    在实践的过程中我们经常会遇到不同的环境需要不同配置文件的情况,如果每换一个环境重新修改配置文件或重新打包一次会比较麻烦,Spring Boot为此提供了Profile配置来解决此问题. Profile ...

  5. Spring全家桶——SpringBoot之AOP详解

    Spring全家桶--SpringBoot之AOP详解 面向方面编程(AOP)通过提供另一种思考程序结构的方式来补充面向对象编程(OOP). OOP中模块化的关键单元是类,而在AOP中,模块化单元是方 ...

  6. Springboot mini - Solon详解(四)- Solon的事务传播机制

    Springboot min -Solon 详解系列文章: Springboot mini - Solon详解(一)- 快速入门 Springboot mini - Solon详解(二)- Solon ...

  7. Springboot mini - Solon详解(三)- Solon的web开发

    Springboot min -Solon 详解系列文章: Springboot mini - Solon详解(一)- 快速入门 Springboot mini - Solon详解(二)- Solon ...

  8. Springboot mini - Solon详解(五)- Solon扩展机制之Solon Plugin

    Springboot min -Solon 详解系列文章: Springboot mini - Solon详解(一)- 快速入门 Springboot mini - Solon详解(二)- Solon ...

  9. Springboot mini - Solon详解(六)- Solon的校验框架使用、定制与扩展

    Springboot min -Solon 详解系列文章: Springboot mini - Solon详解(一)- 快速入门 Springboot mini - Solon详解(二)- Solon ...

  10. Springboot mini - Solon详解(七)- Solon Ioc 的注解对比Spring及JSR330

    Springboot min -Solon 详解系列文章: Springboot mini - Solon详解(一)- 快速入门 Springboot mini - Solon详解(二)- Solon ...

随机推荐

  1. html5--2.7新的布局元素(4)-time

    html5--2.7新的布局元素(4)-time 学习要点 了解微格式的概念 掌握time元素的用法 微格式的概念 HTML5中的微格式,是一种利用HTML5中的新标签对网页添加附加信息的方法,附加信 ...

  2. html5--2.1新的布局元素概述

    html5--2.1新的布局元素概述 学习要点 了解HTML5新标签(元素)的优点 了解本章要学习的新的布局元素 了解本章课程的安排 HTML5新标签的优点: 更注重于内容而不是形式 对人的友好:更加 ...

  3. MySQL存储过程示例

    MySQL存储过程: /*自定义结束符*/ DELIMITER $$ /*如果存在同名的存储过程就删除*/ DROP PROCEDURE IF EXISTS prAddBlack$$ /*创建存储过程 ...

  4. listen 64

    Winning Athletes Engage in Arms Raise You see it when you watch almost any game: there's a touchdown ...

  5. RabbitMQ消息队列随笔

    本文权当各位看官对RabbitMQ的基本概念以及使用场景有了一定的了解,如果你还对它所知甚少或者只是停留在仅仅是听说过,建议你先看看这篇文章,在对RabbitMQ有了基本认识后,我们正式开启我们的Ra ...

  6. linux进程学习-进程描述符,控制块

    从数据结构的角度,进程用task_struct结构来描述,称为“进程描述符 (Process Descriptor)”或者“进程控制块(Process Control Block, PCB)”,其包含 ...

  7. Pmod使用的4种模式

    引言 多年以来,一直存在标准泛滥的现象,而我们电子业尤其严重.您是否曾经想过,为什么我们对有些奇怪的数字或测量计的东西建立标准?关于航天飞机的固体燃料火箭推进器的直径是否真的源自于马屁股的宽度的讨论非 ...

  8. Weblogic学习

    1.WebLogic目录介绍:     coherence:集群组件 modules:第三方的模块包 user_projects:存放域的文件夹(必须要创建域) utils 工具包 uninstall ...

  9. Linux命令总结_touch创建文件

    1.touch命令,用来创建文件或者修改文件时间戳 格式:touch [选项]... 文件... 选项 : -a   或--time=atime或--time=access或--time=use  只 ...

  10. jmp $

    in intel x86 instruction set, "jmp $" means jump to this instruction location, thus fallin ...