Class ActionListenerHandler
java.lang.Object
jakarta.faces.view.facelets.TagHandler
org.apache.myfaces.view.facelets.tag.faces.core.ActionListenerHandler
- All Implemented Interfaces:
ActionSourceAttachedObjectHandler,AttachedObjectHandler,FaceletHandler
@JSFFaceletTag(name="f:actionListener",
bodyContent="empty")
public final class ActionListenerHandler
extends TagHandler
implements ActionSourceAttachedObjectHandler
Register an ActionListener instance on the UIComponent associated with the closest parent UIComponent custom action.
See jakarta.faces.event.ActionListener
See jakarta.faces.component.ActionSource
- Version:
- $Id$
- Author:
- Jacob Hookom
-
Field Summary
Fields inherited from class jakarta.faces.view.facelets.TagHandler
nextHandler, tag, tagId -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(FaceletContext ctx, UIComponent parent) voidapplyAttachedObject(FacesContext context, UIComponent parent) getFor()Methods inherited from class jakarta.faces.view.facelets.TagHandler
getAttribute, getRequiredAttribute, toString
-
Constructor Details
-
ActionListenerHandler
-
-
Method Details
-
apply
public void apply(FaceletContext ctx, UIComponent parent) throws IOException, FacesException, FaceletException, jakarta.el.ELException - Specified by:
applyin interfaceFaceletHandler- Throws:
IOExceptionFacesExceptionFaceletExceptionjakarta.el.ELException
-
applyAttachedObject
- Specified by:
applyAttachedObjectin interfaceAttachedObjectHandler
-
getFor
- Specified by:
getForin interfaceAttachedObjectHandler
-