Cómo llamar a la función JavaScript en HTML usando Thymeleaf y poner Argnet como método Arg

th:data-student="${student}" th:onclick="edit(this.getAttribute('data-student'))"
Bright Bee