Avatar
0
tvd12 Enlightened
tvd12 Enlightened
Thymeleaf: Hiển thị message dạng chữ hoa
Code hiển thị message dạng chữ hoa trong thymeleaf:
<code><li class="nav-header"
    th:with="componentsTitle=#{components.title}" 
    th:text="${#strings.toUpperCase(componentsTitle)}"></li>
</code>

Tham khảo thêm: https://www.thymeleaf.org/doc/tutorials/3.0/usingthymeleaf.html#strings

  • Answer
thymeleaf
Remain: 5
1 Answer
Avatar
monkey Enlightened
monkey Enlightened
Sharing
  • 0
  • Reply