is it possible extend a shared view with thymeleaf?
I saw that is possible use framents but is not what I want. Instead I want something similar to .NET MVC, with something like @RenderBody() and another view that extend the shared view by including the shared view.
You can use the Thymeleaf Layout Dialect to extend a view.
Layout page
Content page
In your content page, you refer to the layout (decorator) page using the
layout:decorator
attribute.It is possible to have multiple fragments in one page.