Thymeleaf th:switch th:case

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>

 

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *