Server-Side Rendering - II
Let's continue the server-side rendering by adding and editing a team.
We'll cover the following...
We'll cover the following...
Create team
If we test the code now, the browser should look like this when adding a team:
Edit team
The code will also work for editing a team since it only needs the server-side Thymeleaf rendering we’ve already implemented:
However, as we can’t yet add players through the UI, we need to generate them when seeding the database.
On line 8, we add a random user as a SMALL_FORWARD to the team.
To make this code work, we need to update TeamService and TeamServiceImpl ...