Skip to content

Commit 4a27774

Browse files
committed
migrate spring-bootfrom 2 to 3
1 parent 16605b7 commit 4a27774

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

pom.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,12 +314,13 @@
314314
<version>${version.thymeleaf-testing}</version>
315315
<scope>test</scope>
316316
</dependency>
317+
<!--
317318
<dependency>
318319
<groupId>io.github.jpenren</groupId>
319320
<artifactId>thymeleaf-spring-data-dialect</artifactId>
320321
<version>${version.thymeleaf-spring-data-dialect}</version>
321322
</dependency>
322-
323+
-->
323324
<dependency>
324325
<groupId>org.projectlombok</groupId>
325326
<artifactId>lombok</artifactId>
@@ -780,10 +781,12 @@
780781
<groupId>com.github.mxab.thymeleaf.extras</groupId>
781782
<artifactId>thymeleaf-extras-data-attribute</artifactId>
782783
</dependency>
784+
<!--
783785
<dependency>
784786
<groupId>io.github.jpenren</groupId>
785787
<artifactId>thymeleaf-spring-data-dialect</artifactId>
786788
</dependency>
789+
-->
787790
<dependency>
788791
<groupId>org.thymeleaf</groupId>
789792
<artifactId>thymeleaf-testing</artifactId>

src/main/java/org/woehlke/java/simpleworklist/config/WebMvcConfig.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@
1717
import org.springframework.web.servlet.config.annotation.*;
1818
import org.springframework.web.servlet.i18n.LocaleChangeInterceptor;
1919
import org.springframework.web.servlet.i18n.SessionLocaleResolver;
20-
import org.thymeleaf.dialect.springdata.SpringDataDialect;
20+
//import org.thymeleaf.dialect.springdata.SpringDataDialect;
2121

2222
import jakarta.validation.constraints.NotNull;
23+
2324
import java.util.Locale;
2425
import java.util.Properties;
2526

@@ -92,12 +93,12 @@ public MessageSource messageSource(){
9293
messageSource.setBasename("messages");
9394
return messageSource;
9495
}
95-
96+
/*
9697
@Bean
9798
public SpringDataDialect springDataDialect() {
9899
return new SpringDataDialect();
99100
}
100-
101+
*/
101102
@Bean
102103
public MethodValidationPostProcessor methodValidationPostProcessor() {
103104
return new MethodValidationPostProcessor();

src/main/resources/templates/layout/project.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<div th:fragment="tw-project-form(project,contexts)">
88
<input type="hidden" th:field="*{id}" />
99
<input type="hidden" th:field="*{uuid}" />
10-
<input type="hidden" th:field="*{rowCreatedAt.time}" />
10+
<input type="hidden" th:field="*{rowCreatedAt}" />
1111
<input type="hidden" th:name="${_csrf.parameterName}" th:value="${_csrf.token}"/>
1212
<div class="form-row">
1313
<div class="col-md-12 mb-12">

0 commit comments

Comments
 (0)