Chapter 10. JSF Custom Components

JSF is a component-based framework, and JSF custom components are the major proof that sustain JSF flexibility and extensibility. In order to write custom components or extend the existing ones, JSF provides a powerful API that allows us to develop two types of components: custom components, and, from JSF 2.0 onwards, composite components. A custom component implementation is responsible for providing an aspect (optional for non-UI components, such as custom validators, converters, and renderers) and a behavior. Usually the decision to write custom components and the skills for accomplishing it belong to advanced JSF developers.

Before you decide to write a custom component, which can be a time-consuming task, ...

Get Mastering JavaServer Faces 2.2 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.