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.
Changes with Spring Boot and htmx-spring-boot-thymeleaf - Spring Boot Tutorial
From the course: HTMX with Thymeleaf in Spring Boot
Changes with Spring Boot and htmx-spring-boot-thymeleaf
- [Instructor] Please open 05-06-begin/records-management in IntelliJ for this tutorial. Let's continue the necessary updates to our palm.xml for the HTMX Spring Boot Thymeleaf dependency. Let's open the Palm. We'll scroll down. We'll update both of these to 4.0.1. And click on the Maven icon here to reload the Maven dependencies. And finally, we're going to run maven clean install. And so there are errors because of the Spring HTMX library with the updates to its functionality that no longer exist. So let's go ahead and fix these. We'll open up the person controller. We'll start with the update method. We'll change this to View using the Spring framework web servlet. Right above line 189 at the end of 188, hit enter. We'll type return fragmentsRendering .with() and let's copy the view from below and paste it inside. At the end of the line, hit enter. We'll type .header(). Since this is a response object for retarget, we will type HtmxResponseHeader HX_RETARGET.getValue We'll add a…
Contents
-
-
-
-
-
-
-
(Locked)
Update other content simultaneously5m 7s
-
(Locked)
Understand OOB swaps and locality of behavior12m 26s
-
(Locked)
Implement OOB swaps on student with animation17m 2s
-
(Locked)
Implement OOB swaps on student with edit of row8m 58s
-
(Locked)
Implement OOB swaps with Spring Boot 3.4.08m 37s
-
(Locked)
Changes with Spring Boot and htmx-spring-boot-thymeleaf10m 15s
-
(Locked)
OOB swaps with row deletion using Spring Boot 3.4.015m 33s
-
(Locked)
Trigger events and elements listening15m 39s
-
(Locked)
Implement OOB swap and OOB selects together using Thymeleaf11m 38s
-
(Locked)
-
-
-