Thymeleaf th:switch th:case

Thymeleaf

variable=dogukan icin

<div th:switch="${variable}">
	<p th:case="'dogukan'"> Dogukan </p>
	<p th:case="'onur'"> Onur</p>
	<p th:case="*"> Hicbiri </p>
</div>
<div>
   <p> Dogukan </p>	
</div>

 


Similar Posts:
  1. Thmeleaf Standard URL Syntax
  2. Thmeleaf Message (i18n) expression
  3. Thymeleaf th:switch th:case

Tags: Th:switch, Thymeleaf, thymeleaf expressions, thymeleaf switch case, thymeleaf th:case, thymeleaf th:case usage, thymeleaf th:switch, thymeleaf th:switch usage, usage