spring - thymeleaf generate REST url with dynamic parameters/elements -
i create rest url thymeleaf. i've this:
<a th:href="@{customer/(${c.id})/edit}">edit</a>
the output is: http://localhost:8080/app/customer/($%7bs.id%7d)/edit
but get: http://localhost:8080/app/customer/4/edit
how can achive this? please help.
what need called preprocessing, follow link!
in case, should this:
<a th:href="@{customer/__${c.id}__/edit}">edit</a>
Comments
Post a Comment