Package jakarta.faces.component
Fundamental APIs for user interface components.
For your convenience here is a UML class diagram of the classes in this package.
-
Interface Summary Interface Description ActionSource ActionSource is an interface that may be implemented by any concreteUIComponent
that wishes to be a source ofActionEvent
s, including the ability to invoke application actions via the defaultActionListener
mechanism.ActionSource2 ActionSource2 extendsActionSource
and provides a JavaBeans "action
" property.ContextCallback A simple callback interace that enables taking action on a specific UIComponent (either facet or child) in the view while preserving any contextual state for that component instance in the view.Doctype Doctype is an interface that must be implemented by anyUIComponent
that represents a document type declaration.EditableValueHolder EditableValueHolder is an extension of ValueHolder that describes additional features supported by editable components, includingValueChangeEvent
s andValidator
s.NamingContainer NamingContainer is an interface that must be implemented by anyUIComponent
that wants to be a naming container.PartialStateHolder Components that want to leverage the partial state saving feature must implement this interface instead of implementingStateHolder
, from which this interface inherits.StateHelper Define aMap
-like contract that makes it easier for components to implementPartialStateHolder
.StateHolder This interface is implemented by classes that need to save their state between requests.TransientStateHelper Define aMap
-like contract that makes it easier for components to implementTransientStateHolder
.TransientStateHolder This interface is implemented by classes that need to save state that is expected to be available only within the scope of the current request.UniqueIdVendor UniqueIdVendor is an interface implemented byUIComponents
that also implementNamingContainer
so that they can provide unique ids based on their own clientId.ValueHolder ValueHolder is an interface that may be implemented by any concreteUIComponent
that wishes to support a local value, as well as access data in the model tier via a value expression, and support conversion between String and the model tier data's native data type. -
Class Summary Class Description UIColumn UIColumn is aUIComponent
that represents a single column of data within a parentUIData
component.UICommand UICommand is aUIComponent
that represents a user interface component which, when activated by the user, triggers an application specific "command" or "action".UIComponent UIComponent is the base class for all user interface components in Jakarta Server Faces.UIComponentBase UIComponentBase is a convenience base class that implements the default concrete behavior of all methods defined byUIComponent
.UIData UIData is aUIComponent
that supports data binding to a collection of data objects represented by aDataModel
instance, which is the current value of this component itself (typically established via aValueExpression
).UIForm UIForm is aUIComponent
that represents an input form to be presented to the user, and whose child components represent (among other things) the input fields to be included when the form is submitted.UIGraphic UIGraphic is aUIComponent
that displays a graphical image to the user.UIImportConstants UIInput UIInput is aUIComponent
that represents a component that both displays output to the user (likeUIOutput
components do) and processes request parameters on the subsequent request that need to be decoded.UIMessage This component is responsible for displaying messages for a specificUIComponent
, identified by aclientId
or component id relative to the closest ancestorNamingContainer
.UIMessages The renderer for this component is responsible for obtaining the messages from theFacesContext
and displaying them to the user.UINamingContainer UINamingContainer is a convenience base class for components that wish to implementNamingContainer
functionality.UIOutcomeTarget This component is paired with thejakarta.faces.Button
orjakarta.faces.Link
renderers and encapsulates properties relating to the rendering of outcomes directly to the response.UIOutput UIOutput is aUIComponent
that has a value, optionally retrieved from a model tier bean via a value expression, that is displayed to the user.UIPanel UIPanel is aUIComponent
that manages the layout of its child components.UIParameter UIParameter is aUIComponent
that represents an optionally named configuration parameter for a parent component.UISelectBoolean UISelectItem UISelectItem is a component that may be nested inside aUISelectMany
orUISelectOne
component, and causes the addition of aSelectItem
instance to the list of available options for the parent component.UISelectItemGroup UISelectItemGroup is a component that may be nested inside aUISelectMany
orUISelectOne
component, and causes the addition of oneSelectItemGroup
of one or moreSelectItem
instances to the list of available options in the parent component.UISelectItemGroups UISelectItemGroups is a component that may be nested inside aUISelectMany
orUISelectOne
component, and causes the addition of one or moreSelectItemGroup
of one or moreSelectItem
instances to the list of available options in the parent component.UISelectItems UISelectItems is a component that may be nested inside aUISelectMany
orUISelectOne
component, and causes the addition of one or moreSelectItem
instances to the list of available options in the parent component.UISelectMany UISelectMany is aUIComponent
that represents the user's choice of a zero or more items from among a discrete set of available options.UISelectOne UISelectOne is aUIComponent
that represents the user's choice of zero or one items from among a discrete set of available options.UIViewAction UIViewAction represents a method invocation that occurs during the request processing lifecycle, usually in response to an initial request, as opposed to a postback.UIViewParameter UIViewParameter represents a binding between a request parameter and a model property orUIViewRoot
property.UIViewParameter.Reference Inner class to encapsulate aUIViewParameter
instance so that it may be safely referenced regardless of whether or not the current view is the same as the view in which thisUIViewParameter
resides.UIViewRoot UIViewRoot is the UIComponent that represents the root of the UIComponent tree.UIWebsocket The<f:websocket>
tag opens an one-way (server to client) websocket based push connection in client side which can be reached from server side viaPushContext
interface injected in any CDI/container managed artifact via@
Push
annotation. -
Exception Summary Exception Description UpdateModelException This exception indicates a failure to update the model and is created to wrap any exception that occurs duringUIInput.updateModel(jakarta.faces.context.FacesContext)
. -
Annotation Types Summary Annotation Type Description FacesComponent The presence of this annotation on a class that extendsUIComponent
must cause the runtime to register this class as a component suitable for inclusion in a view.