Questions tagged as 'thymeleaf'

1
answer

Change of id in form

I have a form where I fill in a series of fields of a JPA entity, the case is that between the fields there is a list which I am filling in with a modal, until then everything is correct, in fact I have this method done for several controllers a...
asked by 02.12.2015 / 13:03
1
answer

Why do I have an "too much recursion" error when trying to submit () with JavaScript?

I'm trying to do a simple submit () through JavaScript but in the console I get an error of "too much recursion" and there the program is slowed down. I'm trying to validate the clicks within a modal and save the input's clicked into an array...
asked by 26.11.2018 / 15:17
0
answers

How can I generate a horizontal pdf with thymeleaf and spring?

I have a system that has personas registered, and I have generated a report of all of them with different datos but the pdf is downloaded vertically, so the campos as many are not displayed correctly, How can I generate the...
asked by 10.08.2018 / 15:40
1
answer

How to create a variable in thymeleaf and pass it to spring

Well, my problem is that I do not know how to declare a variable in thymeleaf and that it recognizes me spring with @Pathvariable. I leave the methods of the html and the controller. Thanks This is the controller: @GetMapping(value = "/...
asked by 29.03.2018 / 23:15
1
answer

Pass parameter to Controller in Spring Boot

I have a page with a series of images inserted in cells. I have in mind to make that according to which image you click, a common page loads in which within the controller it determines where it comes from. So that according to what image comes,...
asked by 30.05.2018 / 19:11
1
answer

Connect thymeleaf with a list of objects

I am currently using these technologies SPRING MVC HIBERNATE JPA THYMELEAF JACKSON JSON create a form where you sent a recipe-type object @GeneratedValue(strategy = GenerationType.AUTO) @Id private int id; private String nom...
asked by 06.06.2018 / 07:52
1
answer

define dynamic variables in jQuery, with Thymeleaf

Good, I am trying to dynamically call the "id" in the tags with the "th: each", as follows. <div th:each="alumno : ${alumnos}" class="row" th:id="'card_' + ${alumno.id}" style="display: none"> <div class="col s12 m10">...
asked by 05.05.2017 / 07:02
0
answers

Thymeleaf deployable MVC

I'm with a basic project of a phone book with a series of data in which there are a series of requirements. Spring boot Thymeleaf mySql jpa The project is advanced but I find the following problem, users must have a province from...
asked by 11.12.2018 / 18:32
0
answers

Refresh DIV after sending model from Spring controller

You see, I am working with spring and thymeleaf and I am just a beginner in this subject; I have the following tree which contains some modules and beside it is a form with which you can create and edit the modules. my problem is that when I...
asked by 08.09.2017 / 17:24
1
answer

How to align my input checkbox with my paragraphs within a modal?

I've been trying for a while but it does not work out in any way. I tried with labels, with paragraphs, but I can not make the checkbox appear next to each of my paragraphs (which are the likes of ice cream) I need to add a checkbox as...
asked by 21.11.2018 / 20:22