O'Reilly logo

Mastering JavaServer Faces 2.2 by Anghel Leonard

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Building composite components

Maybe the idea behind composite components originates from the fact that JSF page authors and JSF component authors have different perspectives regarding components. While JSF page authors perceive components as tags that can be used in XHTML pages, JSF component authors see components as a mixture of UIComponent, UIComponentBase, NamingContainer, Renderer, Validator, and Converter elements—these are elements that shape up a JSF component. Based on this, it seems that custom components can be written only by JSF component authors, since they have knowledge about these JSF elements and Java language. This fact, however, has begun to change as of JSF 2 and composite components, which are practically custom components ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required