Class ActionListenerHandler
java.lang.Object
jakarta.faces.view.facelets.TagHandler
com.sun.faces.facelets.tag.TagHandlerImpl
com.sun.faces.facelets.tag.jsf.core.ActionListenerHandlerBase
com.sun.faces.facelets.tag.jsf.core.ActionListenerHandler
- All Implemented Interfaces:
ActionSource2AttachedObjectHandler
,AttachedObjectHandler
,FaceletHandler
public final class ActionListenerHandler extends ActionListenerHandlerBase implements ActionSource2AttachedObjectHandler
Register an ActionListener instance on the UIComponent associated with the closest parent UIComponent custom action.
See tag
documentation.
- Author:
- Jacob Hookom
- See Also:
ActionListener
,ActionSource
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ActionListenerHandler(TagConfig config)
-
Method Summary
Modifier and Type Method Description void
applyAttachedObject(FacesContext context, UIComponent parent)
Take the argumentparent
and apply this attached object to it.Methods inherited from class com.sun.faces.facelets.tag.jsf.core.ActionListenerHandlerBase
apply, getFor
Methods inherited from class com.sun.faces.facelets.tag.TagHandlerImpl
findNextByType, findNextByType
Methods inherited from class jakarta.faces.view.facelets.TagHandler
getAttribute, getRequiredAttribute, toString
-
Constructor Details
-
ActionListenerHandler
- Parameters:
config
-
-
-
Method Details
-
applyAttachedObject
Description copied from interface:AttachedObjectHandler
Take the argument
parent
and apply this attached object to it. The action taken varies with class that implements one of the subinterfaces of this interface.- Specified by:
applyAttachedObject
in interfaceAttachedObjectHandler
- Specified by:
applyAttachedObject
in classActionListenerHandlerBase
- Parameters:
context
- TheFacesContext
for this requestparent
- TheUIComponent
to which this particular attached object must be applied.
-