Creation of view-layer reusable components (à la JSP taglibs)

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Creation of view-layer reusable components (à la JSP taglibs)

marceloverdijk
The Thymeleaf feature page mentiones:

- Creation of view-layer reusable components (à la JSP taglibs).

Where can I find more documentation about this?



Regards,
Marcel
Reply | Threaded
Open this post in threaded view
|

Re: Creation of view-layer reusable components (à la JSP taglibs)

Zemi
Administrator
Reusing in Thymeleaf is acomplished via the so-called "dialects".

You could start reading the articles:
- Say Hello! Extending Thymeleaf in 5 minutes
- Say Hello Again! Extending Thymeleaf even more in another 5 minutes
at the documentation page.

There is also a complete tutorial in PDF format.
Reply | Threaded
Open this post in threaded view
|

Re: Creation of view-layer reusable components (à la JSP taglibs)

Zemi
Administrator
You have also the option to use template includes (html fragments), this is faster but less reusable.