11. Thymeleaf ViewsΒΆ

  1. 11.1. Templates
    1. 11.1.1. Templates are Frameworks
      1. 11.1.1.1. No Template
      2. 11.1.1.2. A Better Way
      3. 11.1.1.3. Templates Support Dynamic Content
    2. 11.1.2. Templates Provide Structure, Not Content
    3. 11.1.3. Check Your Understanding
  2. 11.2. Creating a Template
    1. 11.2.1. Thymeleaf
      1. 11.2.1.1. Thymeleaf, Naturally
    2. 11.2.2. Thymeleaf Dependency
      1. 11.2.2.1. During Setup for a New Project
      2. 11.2.2.2. Add to an Existing Project
    3. 11.2.3. Start a Practice Project
      1. 11.2.3.1. Template Location
      2. 11.2.3.2. Add a Template
    4. 11.2.4. Thymeleaf Template
  3. 11.3. Using a Template
    1. 11.3.1. Passing Data to a Template
      1. 11.3.1.1. Accessing Data in a Template
    2. 11.3.2. Setting Default Text
    3. 11.3.3. Organizing Templates
    4. 11.3.4. Check Your Understanding
  4. 11.4. Iterating in a Template
    1. 11.4.1. th:each
      1. 11.4.1.1. Location Matters
    2. 11.4.2. th:block
      1. 11.4.2.1. Readability and Nested Loops
    3. 11.4.3. Check Your Understanding
  5. 11.5. Conditionals in a Template
    1. 11.5.1. Display Content if
      1. 11.5.1.1. Adding vs. Displaying/Hiding
      2. 11.5.1.2. What is true?
      3. 11.5.1.3. unless Instead of else
      4. 11.5.1.4. Logical Operators
    2. 11.5.2. Try It!
    3. 11.5.3. Check Your Understanding
  6. 11.6. Thymeleaf Forms
    1. 11.6.1. Start a New Project
    2. 11.6.2. Coding Events Setup - Video
    3. 11.6.3. Coding Events Setup - Text
    4. 11.6.4. Create and Render a Form - Video
    5. 11.6.5. Create and Render a Form - Text
    6. 11.6.6. Add a Form Handler Method - Video
    7. 11.6.7. Add a Form Handler Method - Text
  7. 11.7. Template Fragments
    1. 11.7.1. Fragments DRY Your Code
      1. 11.7.1.1. th:fragment
      2. 11.7.1.2. th:replace
    2. 11.7.2. Try It!
    3. 11.7.3. Check Your Understanding
  8. 11.8. Static Resources
    1. 11.8.1. Accessing Resources
      1. 11.8.1.1. th:src and th:href - Video
      2. 11.8.1.2. th:src
      3. 11.8.1.3. th:href
    2. 11.8.2. Check Your Understanding
  9. 11.9. Bootstrap
    1. 11.9.1. Introduction
    2. 11.9.2. Adding Bootstrap to coding-events
      1. 11.9.2.1. Bootstrap - Video
      2. 11.9.2.2. Bootstrap Layout
      3. 11.9.2.3. Bootstrap Tables
      4. 11.9.2.4. Bootstrap Forms
    3. 11.9.3. Check Your Understanding
  10. 11.10. Exercises: Thymeleaf
    1. 11.10.1. Getting Started
    2. 11.10.2. Expanding our Events Schedule
    3. 11.10.3. Bonus Mission
  11. 11.11. Studio: Spa Day!
    1. 11.11.1. Setup
    2. 11.11.2. The Customer Profile
    3. 11.11.3. List All Appropriate Facial Treatments
    4. 11.11.4. Mani or Pedi?
    5. 11.11.5. End Result
    6. 11.11.6. Bonus Mission