How to use thymeleaf conditions - if - elseif - else

后端 未结 6 1186
遇见更好的自我
遇见更好的自我 2021-02-07 20:04

I have a little problem, I must return a different choice of a select into a td using thymeleaf, I try the next sentence:



        
6条回答
  •  不知归路
    2021-02-07 20:13

    For next time if you want if - elsif -else you can do: (for example I want to know if url on my action object contains confluence then confluence else if it contains jira then jira on th:text)

    It works.

提交回复
热议问题