From the course: HTMX with Thymeleaf in Spring Boot
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Integrate and use the htmx-spring-boot library - Spring Boot Tutorial
From the course: HTMX with Thymeleaf in Spring Boot
Integrate and use the htmx-spring-boot library
- [Narrator] With 0405 begin records management loaded in IntelliJ, let's take a look at an easier way to manage htmx header request and responses to a custom library made available by Wim Deblauwe called the htmx-spring-boot library. Let's take a look at the library and what it does and how we can include it seamlessly in our project. Looking at the project site on GitHub, we can see on the readme it says, "The project simplifies the integration of htmx with Spring Boot or Spring Web MVC applications. It provides a set of views, annotations, and argument resolvers for controllers to easily handle htmx related-requests and response headers. This ensures seamless interaction between the front end and the back end, especially for dynamic content updates via htmx." Reading on on paragraph two, it says, "Additionally, the project includes a custom Thymeleaf dialect to enable smooth rendering of htmx-specific attributes within the Thymeleaf templates. With these tools, developers can…
Contents
-
-
-
-
-
-
(Locked)
Control visibility using HTMX request headers9m 32s
-
(Locked)
Browser influence with HTMX response headers with HX-Trigger11m 47s
-
(Locked)
Set HX-Retarget using HttpServletResponse9m 56s
-
(Locked)
Use HX-Reselect and HX-Reswap with HttpServletResponse21m 41s
-
(Locked)
Integrate and use the htmx-spring-boot library8m 50s
-
(Locked)
Method invocation filtering with HxRequest annotation9m 41s
-
(Locked)
Thymeleaf convenience processors for HTMX integrations6m 51s
-
(Locked)
Use HTMX response headers to set HTMX response headers14m 30s
-
(Locked)
Response header annotations8m 21s
-
(Locked)
-
-
-
-