Questions tagged as 'thymeleaf'

1
answer

Capturing input data of type "radio" and transforming into JSON

(This project is being developed with Spring Boot + Thymeleaf) I have an html page that will work as a questionnaire containing more or less 100 questions (the code below is just an example). Each question has 4 inputs. <div> <inp...
asked by 24.05.2018 / 00:46
1
answer

Thymeleaf error templates in Heroku

I implemented my application in Heroku, just for testing ... Locally everything works fine, but in Heroku after I log in with the credentials I'm directed to the sac/index page, which is correct, but me returns:    "Whitelabel Error Pa...
asked by 30.05.2017 / 22:07
1
answer

Error resolving template when running Spring application

I'm having trouble running this Spring application, I followed the steps in a booklet, but these errors came up. How do I solve this problem? Errors:    Error resolving template "InvitationList", template might not exist   or might not...
asked by 11.07.2016 / 08:00
1
answer

Change label Bootstrap color

How do I change the label color of my button depending on the value it has? In my form, in the field status , I need the value to be "open", green, "completed" in blue, and "canceled" in red. I did a function using Thymeleaf but it s...
asked by 08.12.2018 / 17:20
1
answer

Thymeleaf passing 2 parameters to URL

Good evening guys, I have the following problem: I'm trying to pass 2 parameters to the URL using Thymeleaf, but I'm not able to retrieve the value of the variable "name" to pass the second parameter. Note: Euconsigo pass the page numbe...
asked by 26.08.2018 / 00:12
1
answer

Is it possible to put the contents of a "thymeleaf object" inside a "variable" in HTML?

To contextualize: I have a "log" object, which was declared in an HTML page through thymeleaf: <html xmlns:th="http://www.thymeleaf.org" th:include="layout :: page"> ... <form class="form-inline" action="#" th:action="@{'log/'...
asked by 06.08.2018 / 16:42
0
answers

How do I make / call the AJAX url?

To contextualize : There is a remote directory, clearing-dit\logs , which has a series of logs ( portal.log , test.log , ...). This directory is mapped to an HTML page, where all its .log's are displayed. Once one of...
asked by 01.08.2018 / 16:37
0
answers

Null object in View

The request: @Entity @Table(name="wp_posts") public class Pedido implements Serializable { private static final long serialVersionUID = 1L; @Id @GeneratedValue private Long id; @Column(name="post_status") private String status; @Column(nam...
asked by 30.01.2018 / 19:58
0
answers

Difficulty to list data in a Spring Boot table

I'm working with a simple Spring Boot project using Thymeleaf, this is a product registration, as I have several types of products to register I found interesting to create an entity called product and the other entities that were a product type...
asked by 05.07.2017 / 17:58
0
answers

With loading a google chart using Spring MVC

I have a jsp page with the following code that uses google charts and shows the graphs on the jsp page. When I use a servlet as a controller it works perfectly. <%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE html>...
asked by 09.05.2017 / 21:05