The Java EE 7 Tutorial
10.3 Using Core Tags
The tags included in the JavaServer Faces core tag library are used to perform core actions that are not performed by HTML tags.
Table 10-8 lists the event-handling core tags.
Table 10-8 Event-Handling Core Tags
Tag | Function |
---|---|
Adds an action listener to a parent component |
|
|
Adds a |
|
Registers a special action listener whose sole purpose is to push a value into a managed bean when a form is submitted |
Adds a value-change listener to a parent component |
Table 10-9 lists the data-conversion core tags.
Table 10-9 Data-Conversion Core Tags
Tag | Function |
---|---|
Adds an arbitrary converter to the parent component |
|
Adds a |
|
Adds a |
Table 10-10 lists the facet core tags.
Table 10-10 Facet Core Tags
Tag | Function |
---|---|
Adds a nested component that has a special relationship to its enclosing tag |
|
Registers a |
Table 10-11 lists the core tags that represent items in a list.
Table 10-11 Core Tags That Represent Items in a List
Tag | Function |
---|---|
Represents one item in a list of items |
|
Represents a set of items |
Table 10-12 lists the validator core tags.
Table 10-12 Validator Core Tags
Tag | Function |
---|---|
|
Adds a |
|
Delegates the validation of a local value to a |
|
Enforces the presence of a value in a component |
Table 10-13 lists the core tags that fall into other categories.
Table 10-13 Miscellaneous Core Tags
These tags, which are used in conjunction with component tags, are explained in other sections of this tutorial.
Table 10-14 lists the sections that explain how to use specific core tags.
Table 10-14 Where the Core Tags Are Explained
Tags | Where Explained |
---|---|
Event-handling tags |
Registering Listeners on Components |
Data-conversion tags |
|
|
Using Data-Bound Table Components and Laying Out Components with the h:panelGrid and h:panelGroup Tags |
|
|
|
Using View Parameters to Configure Bookmarkable URLs |
|
Displaying a Formatted Message with the h:outputFormat Tag |
|
Using the f:selectItem and f:selectItems Tags |
Validator tags |
|
|
Chapter 13, "Using Ajax with JavaServer Faces Technology" |