HTML ID of the screen created by Thymeleaf and Spring Boot,
I want to change it dynamically with the characters passed from SpringBoot, but it doesn't work.
I would appreciate it if you could teach me.

Corresponding source code

~~~~~~~~~~~~~~~~ Omit unnecessary parts ~~~~~~~~~~~~~~~~~~~~

The testList contains the string I want to use for the ID.

Supplementary information (FW/tool version, etc.)

SpringBoot 2.2.4.RELEASE

  • Answer # 1

    It's done.

Related articles