Class ActionListenerHandler
java.lang.Object
jakarta.faces.view.facelets.TagHandler
com.sun.faces.facelets.tag.TagHandlerImpl
com.sun.faces.facelets.tag.faces.core.ActionListenerHandlerBase
com.sun.faces.facelets.tag.faces.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:
-
Field Summary
Fields inherited from class jakarta.faces.view.facelets.TagHandler
nextHandler, tag, tagId -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyAttachedObject(FacesContext context, UIComponent parent) Take the argumentparentand apply this attached object to it.Methods inherited from class com.sun.faces.facelets.tag.faces.core.ActionListenerHandlerBase
apply, getForMethods inherited from class com.sun.faces.facelets.tag.TagHandlerImpl
findNextByType, findNextByTypeMethods inherited from class jakarta.faces.view.facelets.TagHandler
getAttribute, getRequiredAttribute, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface jakarta.faces.view.AttachedObjectHandler
getFor
-
Constructor Details
-
ActionListenerHandler
- Parameters:
config-
-
-
Method Details
-
applyAttachedObject
Description copied from interface:AttachedObjectHandlerTake the argument
parentand apply this attached object to it. The action taken varies with class that implements one of the subinterfaces of this interface.- Specified by:
applyAttachedObjectin interfaceAttachedObjectHandler- Specified by:
applyAttachedObjectin classActionListenerHandlerBase- Parameters:
context- TheFacesContextfor this requestparent- TheUIComponentto which this particular attached object must be applied.
-