Hey
I am working in:
"SpringMVC 5", with "Twitter Bootstrap 4" html pages, and "Thymeleaf 3" templating, in IntelliJ EAP (latest version) and Tomcat9,
Maven
The structure of my project:
I am using these tutorials:
https://www.baeldung.com/spring-thymeleaf-fragments
https://www.thymeleaf.org/doc/tutorials/3.0/usingthymeleaf.html#template-layout
I have my page (home.html). I have my template (template.html).
According to the 2nd tutorial:
1. I inserted the "menubar" into the "template" (this insert must work, because I inserted the menubar directly to the "home.html" and it was inserted successfuly)
2. Question that I cannot solve from what they say into the 2nd tutorial:
How I "decorate" my "home.html" according the "template.html". I mean, how I use the template to decorate according it all my pages?
I used the following in the "home.html" but it is not working:
My files are:
"home.html"
"menubar.html"
"template.html"
"WebConfig.java"
In my pom (some of it):
Please some one help. Thanks in advance