with MAIN_OVERVIEW_DIV_INCLUDE being "main/main :: fragment".
The error I get is this one:
HTTP Status 500 - Request processing failed; nested exception is org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "ServletContext resource [/WEB-INF/templates/main/main :: fragment.html]" - line 43, col 14)
I understand that the URL is wrong (or is it?) but I have no idea on how to fix that.
Even when doing
, the error persists :( Any help?
Also, it would be nice if I could set the fragment name in main/main dynamically but I guess that's out of the question as the fragment isn't evaluated before being included, right?
Re: Thymeleaf 3 with nested (recursive) evaluation and th:replace
The problem here seemed to be that I gave the fragment that was to be included a name referencing a public static final String - which worked when including the fragment directly.
I just switched to just including the file and not a fragment - not really the appropriate solution but rather a workaround :(