Questions tagged [spring-thymeleaf]
289 questions
1
vote
0 answers
Spring Boot Security: One user with multiple roles which has multiple permissions
Good day.
I am working on Spring Boot Security. I am stuck with a problem, and can't figure out how to implement UserDetails to grant authorities of a user with multiple roles, and each roles have different set of permissions.
For Example: Let's say…

Sujan
- 21
- 7
1
vote
0 answers
Using Immutables with Thymeleaf multiple select for an Enum List
I've started using Thymeleaf recently, and generally been getting on pretty well. However I'm trying to use a multiple select to populate a list of Enums that are wrapped up in an immutable.
I refactored it and it works using a POJO:
public enum…

trickster
- 75
- 1
- 9
1
vote
1 answer
Cannot connect Thymeleaf HTML webpage to my Spring Boot API/DB
I have a Spring Boot application for a school records management system. My API is working perfectly when using Insomnia but I cannot get my hTML webpage to interact with the API. Here are the relevant bits of my Staff…

frankie98
- 11
- 2
1
vote
1 answer
Spring Boot ThymeLeaf Not Loading HTML
I have a Java and Maven project in which I have the following controller (src/main/java/com/example/romannumerals/controller/RomanNumeralController):
@RestController
public class RomanNumeralController {
@GetMapping("/roman-numerals/{number}")
…

Sachin Kainth
- 45,256
- 81
- 201
- 304
1
vote
0 answers
Thymeleaf not loading content when I add validation in Spring Boot
Intro:
My app works in the general sense. All as I want. But when I set up validation (and it does work), it won't load all my hidden content. I moved it all to its own page, and it still did not work. So I am asking here with my original set up. I…

Marisabel
- 11
- 4
1
vote
0 answers
How can i display only selected options in Thymeleaf
I am trying to modify the option in Thymeleaf so that the table can show me only selected item, after clicking the option. Here is my code: