© Michael Müller 2018
Michael MüllerPractical JSF in Java EE 8 https://doi.org/10.1007/978-1-4842-3030-5_27

27. Building Composite Components

Michael Müller1 
(1)
Brühl, Nordrhein-Westfalen, Germany
 

Remember the questions at the end of Chapter 24? Is it possible to predefine and reuse such similar input structures? This chapter shows how to build such components.

Before JSF 2.0, you could still create your own components. These custom components follow a special convention to programmatically implement behavior with Java code. Sometimes that’s useful to create components with completely new behavior.

Beginning with JSF 2.0, a new feature was introduced: composite components. With this feature you simply use Facelets to compose reusable components of ...

Get Practical JSF in Java EE 8: Web Applications ​in Java for the Enterprise 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.