Home » Tag Archives: Thymeleaf

Tag Archives: Thymeleaf

Thymeleaf – fragments and angularjs router partial views

java-interview-questions-answers

One more of the many cool features of thymeleaf is the ability to render fragments of templates – I have found this to be an especially useful feature to use with AngularJs. AngularJS $routeProvider or AngularUI router can be configured to return partial views for different “paths”, using thymeleaf to return these partial views works really well. Consider a simple ...

Read More »

Spring MVC and Thymeleaf: how to acess data from templates

spring-interview-questions-answers

In a typical Spring MVC application, @Controller classes are responsible for preparing a model map with data and selecting a view to be rendered. This model map allows for the complete abstraction of the view technology and, in the case of Thymeleaf, it is transformed into a Thymeleaf VariablesMap object that makes all the defined variables available to expressions executed ...

Read More »

HOW-TO: Spring Boot and Thymeleaf with Maven

apache-maven-logo

Spring Boot is a great piece of software allowing you to bootstrap Spring application within a few seconds. And it really works. As little configuration as possible to get started. And still possible to change the defaults. Let’s see how easily is to bootstrap Spring MVC with Thymeleaf and Maven and work with it in IntelliJ. Basic setup Spring MVC ...

Read More »

Thymeleaf integration with Spring (Part 2)

spring-interview-questions-answers

1. Introduction This is the second part of the Thymeleaf integration with Spring tutorial. You can read the first part here, where you will learn how to configure this project. As explained at the beginning of the first part of this tutorial, the web application will send two types of requests:         Insert a new guest: Sends ...

Read More »

Thymeleaf integration with Spring (Part 1)

spring-interview-questions-answers

1.Introduction This article is focused on how Thymeleaf can be integrated with the Spring framework. This will let our MVC web application take advantage of Thymeleaf HTML5 template engine without losing any of the Spring features. The data layer uses Spring Data to interact with a mongoDB database. The example consists in a Hotel’s single page web application from where ...

Read More »

Thymeleaf template layouts in Spring MVC application with no extensions

spring-interview-questions-answers

After some years with JSP/JSTL and Apache Tiles I started discovering Thymeleaf for my Spring MVC applications. Thymeleaf is a really great view engine and it simplifies and speeds up the development despite that lack of good IntelliJ (vote here: http://youtrack.jetbrains.com/issue/IDEABKL-6713) support at the moment (there is an Eclipse plugin though). While learning how to use Thymeleaf I investigated different ...

Read More »

Implement Bootstrap Pagination With Spring Data And Thymeleaf

spring-interview-questions-answers

Twitter Bootstrap has a very nice pagination UI, and here I will show you how to implement it with Spring Data Web pagination function and Thymeleaf conditional evaluation features. Standard Pagination in Bootstrap Simple pagination inspired by Rdio, great for apps and search results. The large block is hard to miss, easily scalable, and provides large click areas. The original ...

Read More »
Do you want to know how to develop your skillset and become a ...

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!
Get ready to Rock!
To download the books, please verify your email address by following the instructions found on the email we just sent you.

THANK YOU!

Close