O'Reilly logo

JSF 1.2 Components by Ian Hlavats

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

Accepting user input

The JBoss RichFaces and Ajax4jsf component libraries contain a wealth of UI components that can be used to accept user input in new and interesting ways. By combining these components together effectively, we can significantly enhance the visual appeal and interactivity of our JSF pages. We will look at a number of examples of these components; such as the RichFaces in-place input text field, number spinbox, slider, calendar, color picker, combo box, pick list, and rich text editor components.

Rendering editable text

Let's begin by looking at the RichFaces<rich:inplaceInput> tag. This tag renders as an editable text control that enables users to click to edit the value of the component directly on the screen. This component ...

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