Quantcast

Javascript fragments without th namespace

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Javascript fragments without th namespace

RollerBlade
I try to use Thymeleaf in a HTML5ish way. Instead of defining the th namspace I use the data-th-xxx way.

It is working properly. But now I want to use javascript fragments. Normally I am doing this:
<footer data-th-fragment="footer-section"></footer> in the template and <div data-th-replace="fragments/components :: footer-section"></div> in the layout file.

I would like to have the same solution for the following block of my template:
<script>...</script><script>.....</script> where I import two javascript file.

I do not want to have outer divs
Loading...