How do I populate a drop down with a list using thymeleaf and spring

[solved] id pass in href in thymeleaf

Solution:

The right way according to Thymeleaf documention for adding parameters is:

<a th:href=”@{/category/edit/{id}(id=${category.idCategory})}”>view</a>

Hope it helps

Leave a Comment

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 *