Top "Thymeleaf" questions

Thymeleaf is an XML/XHTML/HTML5 template engine (extensible to other formats) that can work both in web and non-web environments.

Map HTML input date to LocalDate of Java Object

I have a input field (type: 'date') - who could I map it to a 'LocalDate' field in my Object …

java spring-boot thymeleaf localdate
Thymeleaf v2.0.15 SaxParse Exception - Scanner state not 24

I am trying to use Thymeleaf template engine for generating Emails in my Spring Web Application. I have followed the …

saxparseexception thymeleaf
Spring MVC + Thymeleaf: adding variable to all templates' context

How can I add a "global" variable such as username to be used all around my template context? Currently I …

java spring-mvc thymeleaf
Configuring Spring + Security +Tiles + Thymeleaf using JavaConfig

I am trying to configure a web app to use Spring 3.2 + Spring Security + Apache Tiles + Apache Thymeleaf but i keep …

spring spring-mvc spring-security tiles2 thymeleaf
Only variable expressions returning numbers or booleans are allowed in this context

I am trying to pass a value to my javascript function but that function call depends on a boolean variable. …

javascript html spring spring-boot thymeleaf
Spring Boot Security + Thymeleaf : IProcessorDialect class missing

I'm trying to integrate the Thymeleaf security dialect (such as sec:authorize tag) into a Spring Boot + Spring Security application …

java spring spring-security spring-boot thymeleaf
Use instanceof in Thymeleaf

Is there a way to use the Java instanceof operator in Thymeleaf? Something like: <span th:if="${animal} instanceof …

java spring spring-boot thymeleaf spring-el