I use thymeleaf in an interface and I know the concept of variable in thymeleaf
<span th:with="var=${someValue}" th:text="${var}"></span>
if I use th:text , the value in the variable will be printed, and I can use this variable in the same element. Is there a way to use var in another element like
<span th:with="var=${someValue}"></span> <span th:text="${var}"></span>
I need to provide the global scope this variable, is this possible in the timeline?
source share