O'Reilly logo

Java™ How to Program, Seventh Edition by P. J. Deitel - Deitel & Associates, Inc., H. M. Deitel - Deitel & Associates, Inc.

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

26.6. JSF Components

This section introduces some of the JSF components featured in the Palette (Fig. 26.9). Figure 26.16 summarizes some of the JSF components used in the chapter examples.

Figure 26.16. Commonly used JSF components.
JSF ComponentsDescription
LabelDisplays text that can be associated with an input element.
Static TextDisplays text that the user cannot edit.
Text FieldGathers user input and displays text.
ButtonTriggers an event when clicked.
HyperlinkDisplays a hyperlink.
Drop Down ListDisplays a drop-down list of choices.
Radio Button GroupGroups radio buttons.
ImageDisplays images (e.g., GIF and JPG).

26.6.1. Text and Graphics Components

Figure 26.17 displays a simple form for gathering user input. This example uses all the 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