Package jakarta.faces.component
package jakarta.faces.component
-
ClassDescriptionActionSource is an interface that may be implemented by any concrete
UIComponentthat wishes to be a source ofActionEvents, including the ability to invoke application actions via the defaultActionListenermechanism.ActionSource2 extendsActionSourceand provides a JavaBeans property analogous to the "action" property onActionSource.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.EditableValueHolder is an extension of ValueHolder that describes additional features supported by editable components, includingValueChangeEvents andValidators.The presence of this annotation on a class that extendsUIComponentmust cause the runtime to register this class as a component suitable for inclusion in a view.NamingContainer is an interface that must be implemented by anyUIComponentthat wants to be a naming container.Components that want to leverage the partial state saving feature must implement this interface instead of implementingStateHolder, from which this interface inherits.Define aMap-like contract that makes it easier for components to implementPartialStateHolder.This interface is implemented by classes that need to save their state between requests.Define aMap-like contract that makes it easier for components to implementTransientStateHolder.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.UIColumn is aUIComponentthat represents a single column of data within a parentUIDatacomponent.UICommand is aUIComponentthat represents a user interface component which, when activated by the user, triggers an application specific "command" or "action".UIComponent is the base class for all user interface components in Jakarta Server Faces.UIComponentBase is a convenience base class that implements the default concrete behavior of all methods defined byUIComponent.UIData is aUIComponentthat supports data binding to a collection of data objects represented by aDataModelinstance, which is the current value of this component itself (typically established via aValueExpression).UIForm is aUIComponentthat 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 is aUIComponentthat displays a graphical image to the user.UIInput is aUIComponentthat represents a component that both displays output to the user (likeUIOutputcomponents do) and processes request parameters on the subsequent request that need to be decoded.This component is responsible for displaying messages for a specificUIComponent, identified by aclientIdor component id relative to the closest ancestorNamingContainer.The renderer for this component is responsible for obtaining the messages from theFacesContextand displaying them to the user.UINamingContainer is a convenience base class for components that wish to implementNamingContainerfunctionality.This component is paired with thejakarta.faces.Buttonorjakarta.faces.Linkrenderers and encapsulates properties relating to the rendering of outcomes directly to the response.UIOutput is aUIComponentthat has a value, optionally retrieved from a model tier bean via a value expression, that is displayed to the user.UIPanel is aUIComponentthat manages the layout of its child components.UIParameter is aUIComponentthat represents an optionally named configuration parameter for a parent component.UISelectItem is a component that may be nested inside aUISelectManyorUISelectOnecomponent, and causes the addition of aSelectIteminstance to the list of available options for the parent component.UISelectItems is a component that may be nested inside aUISelectManyorUISelectOnecomponent, and causes the addition of one or moreSelectIteminstances to the list of available options in the parent component.UISelectMany is aUIComponentthat represents the user's choice of a zero or more items from among a discrete set of available options.UISelectOne is aUIComponentthat represents the user's choice of zero or one items from among a discrete set of available options.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 represents a binding between a request parameter and a model property orUIViewRootproperty.Inner class to encapsulate aUIViewParameterinstance so that it may be safely referenced regardless of whether or not the current view is the same as the view in which thisUIViewParameterresides.UIViewRoot is the UIComponent that represents the root of the UIComponent tree.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 viaPushContextinterface injected in any CDI/container managed artifact via@Pushannotation.UniqueIdVendor is an interface implemented byUIComponentsthat also implementNamingContainerso that they can provide unique ids based on their own clientId.This exception indicates a failure to update the model and is created to wrap any exception that occurs duringUIInput.updateModel(jakarta.faces.context.FacesContext).ValueHolder is an interface that may be implemented by any concreteUIComponentthat 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.