Replies: 1 comment
-
You can add the HTML as a model attribute:
Use
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It is possible to pass a fragment generated at run time to the thymeleaf template engine to be included in a template?
For example, if my java codes generate a fragment for a menu to be included in the template. Is there a way to generate this dynamically and pass it to thymeleaf template engine to be
<div th:insert="<my generated fragment>" />
?Beta Was this translation helpful? Give feedback.
All reactions