민서네집

Thymeleaf 본문

Spring

Thymeleaf

브라이언7 2013. 8. 6. 08:04

http://www.thymeleaf.org/doc/html/Thymeleaf-Spring3.html#ajax-fragments


<script type="text/javascript" th:src="@{/resources/script/sample.js}"></script>


위와 같이 쓰면 javascript 파일(sample.js) 안에 국제화 표시 ( #{} )를 포함할 수 있을까?

=> 안된다.



Spring MVC part IV: ThymeLeaf advanced usage


http://doanduyhai.wordpress.com/2012/04/14/spring-mvc-part-iv-thymeleaf-advanced-usage/


HTML5 를 위한 Thymeleaf 를 SpringMVC 에 integration 하기


http://hosang.tistory.com/249


How to write javascript including thymeleaf internationalization


http://blog.florentlim.com/how-to-write-javascript-including-thymeleaf/


Comments