python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Thymeleaf String comparison of requestUri and message.properties variable fails
I try to add a class to a navlink based on the given URI.
My code is like this:
<a data-th-href="#{@{menu.news.href}}" class="nav-link" th:classappend="#{#{httpServletReque...
bb8-droid
Votes: 0
Answers: 1
Model attribute inconsistent after form submission
I'm still trying to figure out what's happening on the backend here. Working with Spring Boot/Thymeleaf. I have a form template that updates a model attribute object on save. I'm trying to use the upd...
faebie
Votes: 0
Answers: 0
Thymeleaf not loading template
I am using Spring and Thymeleaf. Thanks to xerx593, I was able to get it working so I updated this question to show the working code.
Here is my application class
package com.propfinancing.www;
impor...
Neil
Votes: 0
Answers: 2
testing code with a "real" Thymeleaf template engine and nothing else
In my Spring Boot project (v2.6), one of my components is using a Thymeleaf template engine to generate content.
I want to unit test my component, but I am struggling because it has a TemplateEngine a...
Vincent F
Votes: 0
Answers: 1