Questions tagged as 'thymeleaf'

1
answer

How to put a div inside an iframe?

So, I'm trying to make only one part of my HTML page refresh at every "X" times. I was trying to accomplish this through AJAX, but it was giving me a lot of trouble. So I decided to change my plan. Here's my problem: I'm passing a model th...
asked by 17.08.2018 / 20:28
0
answers

Problem to write foreign key in table

I'm developing a java web project - using Spring, Thymeleaf, Html, Mysql. In this project I have two classes that are related by foreign key. (Technical and Cargo). In my view (addTechnical.html) I created a combobox using select to fetch the...
asked by 18.08.2018 / 04:11
1
answer

Thymeleaf can not find resources

I am creating a project with Springboot and Thymeleaf . I have set up the whole project, found the template and the pages, so my template can not find the css and js Html <link rel="stylesheet" th:href="@{/bootstrap/css/bootstrap.m...
asked by 19.12.2016 / 00:22
1
answer

Problems with image localization in Spring Framework

I'm using Spring and Thymeleaf: I have an image in the directory:    resources / image / telescope.png When I open the posts.html (home) page, located at the address below, the image is displayed.    link Code to call the imag...
asked by 05.07.2017 / 19:10
1
answer

creating a tooltip in javascript for an html with thymeleaf

I have the following div that shows the date of a message inside a table: <div class="data" th:text="${aviso.data}"></div> I need to put a tooltip that shows the date also when I hover over this date element, but I can not d...
asked by 04.05.2018 / 21:06
1
answer

Generic Dialogue in thymeleaf

Good evening, friends, Has anyone tried or ever done a generic dialogue on thymeleaf? What I want is: Instead of writing code to confirm the deletion of a data on the screen is something simple, I would like to make a generic, where I w...
asked by 02.04.2017 / 01:54
0
answers

Master-detail in MVC Spring

I have a user screen, the same is with all the functions of crud, my next step is to implement the inclusion of rules, as I come from a desktop environment very much to use a grid, here in html it would be a table, I looked for information of ma...
asked by 10.05.2017 / 17:16
1
answer

HTML - THYMELEAF - pass parameter

I created a parameter in the ProcedureCallerRepository and ProcedureCallerRepositoryImpl so far everything ok my error is in html and I do not know where I'm wrong (sorry if it's a silly thing though I'm still learning) but the part I need is...
asked by 28.08.2018 / 14:47
1
answer

Send a list of objects to Spring using Thymeleaf

I have the following problem, I have an entity called Teacher and another called Class, teacher is with @OneToMany relationship to Class and when I try to save the marked classes in my checkbox in View the following error is displayed:    Erro...
asked by 09.02.2017 / 02:23
2
answers

Thymeleaf Spring JSF

I'm trying to internationalize templat, using Thymeleaf 3.0 Spring 4.2.3 JSF 2.2 What is sent next to an email. #{i18N.descriptionPortal} When you print in the email html it looks like this ??i18N.descriptionPortal_pt_BR?? o...
asked by 05.01.2017 / 17:24