From: Kai Moritz Date: Tue, 21 Jan 2020 19:15:06 +0000 (+0100) Subject: WIP X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=71aa9b98ca612ee06b7ccf28949c91f3cc453566;p=demos%2Fspring-boot WIP --- diff --git a/pom.xml b/pom.xml index 982eb2f..826a489 100644 --- a/pom.xml +++ b/pom.xml @@ -43,6 +43,12 @@ io.projectreactor reactor-test test + + + + org.springframework.boot + spring-boot-devtools + true diff --git a/src/main/java/de/juplo/demo/Form.java b/src/main/java/de/juplo/demo/Form.java index 382c335..7dceac3 100644 --- a/src/main/java/de/juplo/demo/Form.java +++ b/src/main/java/de/juplo/demo/Form.java @@ -1,7 +1,9 @@ package de.juplo.demo; +import java.util.HashMap; import java.util.Map; +import java.util.TreeMap; /** @@ -10,8 +12,8 @@ import java.util.Map; */ public class Form { - Map> cards; - Map row; + Map> cards = new TreeMap<>(); + Map row = new HashMap<>(); public Map> getCards() diff --git a/src/main/resources/templates/form.html b/src/main/resources/templates/form.html index 586a812..b1f53d8 100644 --- a/src/main/resources/templates/form.html +++ b/src/main/resources/templates/form.html @@ -12,11 +12,11 @@
-
+

Card #X

-
+