How to intercept contents coming from th:insert

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

How to intercept contents coming from th:insert

jawwad.farooq
Dear All,

Kindly enlighten me if there is any way to intercept the HTML contents which th:insert brings into the parent template.

Actually what I want to do is add 'th:inline="none"' attribute in the root tag of whatever is coming through th:insert. To achieve this can I write some interceptor in Java or any other solution.

Thanks,

Jaffy
Loading...