thymeleaf标签整理
来源:互联网 发布:淘宝电子商务运营模式 编辑:程序博客网 时间:2024/06/04 20:10
th:fragment 被调用的内容
<div th:fragment="prefectures"> <select th:if="${inputValue}" id="prefecture" name="prefecture" class="select_large" size="1"> <option th:each="job : ${prefectureInfoList}" th:value="${job.prefectureCd}" th:selected="${job.prefectureCd == inputValue.prefectureCd}" th:inline="text" th:class="${job.prefectureCd}">[[${job.prefectureNm}]]</option> </select>
th:include 调用元<td align="left" width="50%"> <div th:include="common/prefectures :: prefectures" style="display:inline"></div> <font color="RED" size="-1"><b> *必須項目</b></font> <input type="hidden" name="prefectureNm" id="prefectureNm" /> <input type="hidden" name="prefectureCd" id="prefectureCd" /> </td>th:inline 让变量在文本框里现实 格式
[[...]]
th:each 循环变量
th:each="job : ${prefectureInfoList}"
循环,job是页面侧的变量名,prefectureInfoList是java侧的变量名
阅读全文
0 0
- thymeleaf标签整理
- thymeleaf中th标签整理
- Thymeleaf教程(三)th标签整理
- thymeleaf 标签
- thymeleaf标签
- thymeleaf 个人常用标签
- thymeleaf自定义标签方言
- thymeleaf标签总结
- thymeleaf模板整合shiro标签
- Thymeleaf 标签学习(一)
- Thymeleaf 标签学习(二)
- Thymeleaf 标签学习(三)
- Thymeleaf的学习笔记整理
- thymeleaf常用的一些标签属性
- Thymeleaf模板HTML5没有结束标签解决办法
- thymeleaf标签之th:href的使用
- thymeleaf标签之th:text的使用
- thymeleaf常用的一些标签属性
- 安卓7.0调用相机引起错误
- 干货
- Java中Synchronized的用法
- Ejb项目创建 环境:myeclipse10.7,weblogic
- 本地伪集群测试Demo
- thymeleaf标签整理
- 用shell脚本配合awk文本处理工具进行文件处理
- STM32 JTAG/SWD禁用导致无法烧写解决方法
- RK3288 定时开关机就是这么简单
- OKHttp--未完成
- xml相关知识,xml与properties的选择问题
- Java访问url
- 沉浸式的简单实现效果(很简单)
- mybatis 执行mapper.xml参数被重新赋值