Java Platform, Enterprise Edition (Java EE) 8 The Java EE Tutorial |
Previous | Next | Contents |
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 |
|
Adds a |
|
Adds a |
|
Adds a custom validator to a component |
|
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
Tag Category |
Tag |
Function |
Attribute configuration |
|
Adds configurable attributes to a parent component |
Localization |
|
Specifies a |
Parameter substitution |
|
Substitutes parameters into a
|
Ajax |
|
Associates an Ajax action with a single component or a group of components based on placement |
Event |
|
Allows installing a |
WebSocket |
|
Allows server-side communications to be pushed to all instances of a socket containing the same channel name. |
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 |
|
Data-conversion tags |
|
|
Using Data-Bound Table Components and Laying Out Components with the h:panelGrid and h:panelGroup Tags |
|
|
|
|
|
|
|
|
Validator tags |
|
|
|
|
Previous | Next | Contents |