2014-10-16 19 views
7

Bir HTML dokümanı içinde nasıl data-target = "# userId" kullanıcısını kullanabilirim? JSP'lerin veya herhangi HTML'de gibi İçin , ben bir thymeleaf HTML doc yazmak nasılVeri hedefini nasıl yapabilirim? "# UserId" thymeleaf öğesinde

<a href="#" data-toggle="modal" data-target="#resetPwModal${customer.uuid }">reset</a> 

. bunu beğendi mi?

<a href="#" data-toggle="modal" data-th-target="#resetPwModal${customer.uuid }">reset</a> 

istisnadır:

org.thymeleaf.exceptions.TemplateProcessingException: Could not parse as expression: "#" (user/userList.html:90) 

cevap

15
th:attr="data-target='#customerModel'+${customer.uuid }" 
İlgili konular