Questions tagged as 'thymeleaf'

1
answer

Thymeleaf hide button

I have a single modal that I call on two pages. I want the ALTERAR CLIENTE button to appear in the modal of page "A" and in page "B" this button disappears. As I said it is the same modal for two different pages and would li...
asked by 03.09.2018 / 15:38
0
answers

Error creating dynamic form with thymeleaf

The form receives a list and creates fields to be filled <form action="#" th:object="${questoes}" method="POST" th:action="@{/testar}"> <div class="form-group" th:each="item, questao : ${questoes}"> <...
asked by 27.07.2018 / 02:26
1
answer

How to make a "part" / line of the tbody be static on a responsive table?

Hello. I'm using tablesort to sort my table with each click I one of its headers. The problem is that the "Total" line <tr class="bg-info"> <th colspan="1">TOTAL:</th> ... </tr> was jumping along with the ord...
asked by 11.07.2018 / 16:09
1
answer

How to use a var counter in Thymeleaf?

Is it possible to create a counter variable in thymeleaf? I need an incremental variable to pass as tag IDs in HTML. I have the following loopbacks, where each loop will be iterated x different times, so I can not use the index of any of the loo...
asked by 24.04.2018 / 19:29
1
answer

Creating and Editing in Spring Framework

I recently started learning Spring from the Thymeleaf template engine for displaying the data. However, I have been facing some problems that I can not solve: At the time of editing the Star Wars Movie entity, I can not retrieve the "Release...
asked by 03.04.2018 / 19:14
0
answers

select with relationship in thymeleaf

Good afternoon! I need help from the members of the Forum, as follows. I am developing an application with Java and SpringBoot and I need to implement a view where you will have a select that will bring the information of the Mysql database,...
asked by 27.02.2018 / 19:38
1
answer

Form creation

My problem is this: I have a class for example client it via own name, surname and cpf and a list of objects of class address. The address class is only going to have the street and city field. My question is the following how do I create a form...
asked by 03.03.2018 / 06:52
1
answer

self-populated form with the remaining data of one of the selected fields

I wanted to have a dynamic form where the only thing that is asked is to select a user u from a list of users passed to the model from a controller, the email and status fields should be automatically displayed depending on the user who is selec...
asked by 20.02.2018 / 01:32
1
answer

Eureka + zuul + micro services + thymeleaf - Problem loading webjars

I am creating a system based on the micro services architecture with the following flow. eureka porta (8888) zuul porta (8080) stu_user (8081) / User / ** stu_veiculo (8082) / Vehicle / ** As I understand zuul is a gateway where w...
asked by 17.11.2017 / 21:23
1
answer

img not aparace using thymeleaf, spring boot (with maven)

The image I want to add is in the following directory: /src/main/resources/static/images/logo.png And the HTML tag looks like this: <img width="220px" height="70px" th:src="@{/static/images/logo.png}"/> However, I get the follow...
asked by 21.10.2017 / 01:37