© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
B. Scholtz, A. TijmsThe Definitive Guide to Jakarta Faces in Jakarta EE 10https://doi.org/10.1007/978-1-4842-7310-4_11

11. Custom Components

Bauke Scholtz1   and Arjan Tijms2
(1)
Willemstad, Curaçao
(2)
Amsterdam, Noord-Holland, The Netherlands
 

In Chapter 7, you should have learned that Facelets <ui:composition>, <ui:include>, and <ui:decorate> are useful when you want to split main page layout fragments into reusable templates, such as header, menu, main content, and footer. And that Facelet tag files such as <t:field> are useful when you want to have a reusable group of components in order to minimize code duplication. And that composite components such as ...

Get The Definitive Guide to Jakarta Faces in Jakarta EE 10: Building Java-Based Enterprise Web Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.