Abstract
In Chapter 7 you should have learned that Facelet templates as in <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 <t:inputLocalTime> are useful when you want to create a custom component with a single responsibility based on existing components and, if necessary, a bunch of HTML.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsNotes
- 1.
- 2.
- 3.
- 4.
- 5.
- 6.
- 7.
- 8.
- 9.
- 10.
- 11.
- 12.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2018 Bauke Scholtz, Arjan Tijms
About this chapter
Cite this chapter
Scholtz, B., Tijms, A. (2018). Custom Components. In: The Definitive Guide to JSF in Java EE 8. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-3387-0_11
Download citation
DOI: https://doi.org/10.1007/978-1-4842-3387-0_11
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-3386-3
Online ISBN: 978-1-4842-3387-0
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books