Exercise Solutions: Thymeleaf Views¶
Expanding our Events Schedule¶
Comment out your previous code in the
// List<String> events = new ArrayList<>(); // events.add("Code With Pride"); // events.add("Strange Loop"); // events.add("Apple WWDC"); // events.add("SpringOne Platform");
eventsHashMap with the names and descriptions of 3 coding events around town.
Use fragments to store the address of the new tech hub where all of the programmers are hanging out. Use
th:replacein your main template to bring in the address as a third column in your table. You may need to create a new
<td th:fragment="address">1234 5th Street</td>