Questions tagged as 'thymeleaf'

1
answer

spring mvc error of mime type

hi how I currently have a project with the following technologies THYMELEAF SPRING MVC HIBERNATE JPA good at the time of generating a view with external css to which I mean to make href out of the server .. there is no problem bu...
asked by 20.06.2018 / 18:16
0
answers

Spring MVC IT Test fails because it can not find the HTML page to return

I am trying to do Integration Test (JUNIT) on a webapp with Maven + Spring 5 + thymeleaf and, when I launch the following test: MockHttpServletRequestBuilder createMessage = get(prueba/alta).secure(true) .contentType(MediaType....
asked by 02.04.2018 / 19:23
1
answer

How do I capture a variable of a href in thymeleaf Spring?

It turns out that when running my application, the spring boot does not capture the variable, and it shows me an error 404:    There was an unexpected error (type = Not Found, status = 404).   No message available Code: @RequestMappi...
asked by 09.01.2018 / 23:05
1
answer

How to return a view dynamically with spring boot?

How can I return a view dynamically by means of a controller in spring boot This is my index.html <html> <head> <title>prueba</title> </head> <body> <div th:replace="${contenido}">...
asked by 06.11.2017 / 18:50
1
answer

How to activate the live edition with spring boot

I'm working on spring boot with gradle and I do not know how to activate the live edition investigate that you have to integrate the dependency compile("org.springframework.boot:spring-boot-devtools") but I can not make it work, I do not k...
asked by 19.10.2017 / 20:32
1
answer

Error in Ajax call (jQuery) with Thymeleaf

I am trying to render a select depending on the selected value in another select. <form id="myform" action="#" th:action="@{/actionRequest}" th:object="${myModel}" method="post" enctype="multipart/form-data"> <div class="col-x...
asked by 22.05.2017 / 22:13
2
answers

How can I show the null values as an empty column?

I have a template person_report and I need the values of this concatenation not to be shown as null when a pdf is generated. <td th:text="|${person.address} ${person.address_number} ${person.floor} ${p...
asked by 10.08.2018 / 22:33
0
answers

Use the properties of a nested list in a hashmap to save results

I'm trying to save the data of a dynamic form in a map whose value is a list of objects, the problem is that when I get to the corresponding POST method, in the map, the entryKey are all right with their corresponding objects but w...
asked by 08.02.2016 / 12:43