Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
As mentioned in Section 29.4, JSF supports several tag libraries. In this section, we introduce several of the JSF HTML Tag Library’s elements and one element from the JSF Core Tag Library. Figure 29.13 summarizes elements discussed in this section.
| JSF component | Description |
|---|---|
| h:form | Inserts an XHTML form element into a page. |
| h:commandButton | Displays a button that triggers an event when clicked. Typically, such a button is used to submit a form’s user input to the server for processing. |
| h:graphicImage | Displays an image (e.g., GIF and JPG). |
| h:inputText | Displays a text box in which the user can enter input. |
| h:outputLink | Displays a hyperlink. |
| h:panelGrid | Displays an XHTML table element. |
| h:selectOneMenu | Displays a drop-down list of choices from which the user can make a selection. |
| h:selectOneRadio | Displays a set of radio buttons. |
| f:selectItem | Specifies an item in an h:selectOneMenu or h:selectOneRadio (and other similar components). |