Using the Core Tags
Using the Core Tags
Using the Core Tags
The tags included in the JavaServer Faces core tag library are used to perform core actions that
are independent of a particular render kit. These tags are listed in
TABLE 111
The jsf_core Tags
Tag Categories
Tags
Functions
Event-handling
tags
actionListener
Registers an action listener on a parent component
phaseListener
Registers a PhaseListener instance on a UIViewRoot
component
setPropertyActionListener
Registers a special action listener whose sole purpose is
to push a value into a backing bean when a form is
submitted
valueChangeListener
Registers a value-change listener on a parent
component
Attribute
configuration tag
attribute
Adds configurable attributes to a parent component
Data conversion
tags
converter
Registers an arbitrary converter on the parent
component
convertDateTime
Registers a DateTime converter instance on the parent
component
convertNumber
Registers a Number converter instance on the parent
component
Facet tag
facet
Signifies a nested component that has a special
relationship to its enclosing tag
Localization tag
loadBundle
Specifies a ResourceBundle that is exposed as a Map
Parameter
substitution tag
param
Substitutes parameters into a MessageFormat instance
and adds query string name-value pairs to a URL
Tags for
representing
items in a list
selectItem
Represents one item in a list of items in a UISelectOne
or UISelectMany component
selectItems
Represents a set of items in a UISelectOne or
UISelectMany
component
Container tag
subview
Contains all JavaServer Faces tags in a page that is
included in another JSP page containing JavaServer
Faces tags
Using the Core Tags
Chapter 11 · Using JavaServer Faces Technology in JSP Pages
325