Uses of Interface
jakarta.faces.component.behavior.ClientBehavior
Package
Description
-
Uses of ClientBehavior in com.sun.faces.facelets.tag.composite
Modifier and TypeClassDescriptionclass
Basically represents<f:ajax>
which is retargeted by<cc:clientBehavior>
inAjaxHandler
and checked inAjaxBehaviorRenderer
.Modifier and TypeMethodDescriptionvoid
BehaviorHolderWrapper.addClientBehavior
(String eventName, ClientBehavior behavior) -
Uses of ClientBehavior in com.sun.faces.renderkit
Modifier and TypeMethodDescriptionstatic void
RenderKitUtils.renderPassThruAttributes
(FacesContext context, ResponseWriter writer, UIComponent component, Attribute[] attributes, Map<String, List<ClientBehavior>> behaviors) Render any "passthru" attributes, where we simply just output the raw name and value of the attribute. -
Uses of ClientBehavior in com.sun.faces.renderkit.html_basic
Modifier and TypeMethodDescriptionprotected static Map
<String, List<ClientBehavior>> HtmlBasicInputRenderer.getNonOnChangeBehaviors
(UIComponent component) protected static Map
<String, List<ClientBehavior>> HtmlBasicInputRenderer.getNonOnClickSelectBehaviors
(UIComponent component) protected static Map
<String, List<ClientBehavior>> HtmlBasicRenderer.getPassThruBehaviors
(UIComponent component, String domEventName, String componentEventName) When rendering pass thru attributes, we need to take any attached Behaviors into account.Modifier and TypeMethodDescriptionvoid
AjaxBehaviorRenderer.decode
(FacesContext context, UIComponent component, ClientBehavior behavior) AjaxBehaviorRenderer.getScript
(ClientBehaviorContext behaviorContext, ClientBehavior behavior) -
Uses of ClientBehavior in jakarta.faces.component
Modifier and TypeMethodDescriptionUIComponentBase.getClientBehaviors()
This is a default implementation ofClientBehaviorHolder.getClientBehaviors()
.Modifier and TypeMethodDescriptionvoid
UIComponentBase.addClientBehavior
(String eventName, ClientBehavior behavior) This is a default implementation ofClientBehaviorHolder.addClientBehavior(java.lang.String, jakarta.faces.component.behavior.ClientBehavior)
. -
Uses of ClientBehavior in jakarta.faces.component.behavior
Modifier and TypeClassDescriptionclass
An instance of this class is added as aClientBehavior
to a component using theClientBehaviorHolder.addClientBehavior(java.lang.String, jakarta.faces.component.behavior.ClientBehavior)
contract that components implement.class
ClientBehaviorBase is a convenience base class that implements the default concrete behavior of all methods defined byClientBehavior
.Modifier and TypeMethodDescriptionClientBehaviorHolder.getClientBehaviors()
Returns a non-null, unmodifiableMap
that contains the theClientBehavior
s that have been attached to the component implementing this interface.Modifier and TypeMethodDescriptionvoid
ClientBehaviorHolder.addClientBehavior
(String eventName, ClientBehavior behavior) Attaches aClientBehavior
to the component implementing this interface for the specified event. -
Uses of ClientBehavior in jakarta.faces.render
Modifier and TypeMethodDescriptionvoid
ClientBehaviorRenderer.decode
(FacesContext context, UIComponent component, ClientBehavior behavior) Decode any new state of thisClientBehavior
from the request contained in the specifiedFacesContext
.ClientBehaviorRenderer.getScript
(ClientBehaviorContext behaviorContext, ClientBehavior behavior) Return the script that implements this ClientBehavior's client-side logic.