Class ActionListenerHandler
- java.lang.Object
-
- jakarta.faces.view.facelets.TagHandler
-
- org.apache.myfaces.view.facelets.tag.faces.core.ActionListenerHandler
-
- All Implemented Interfaces:
ActionSource2AttachedObjectHandler
,AttachedObjectHandler
,FaceletHandler
@JSFFaceletTag(name="f:actionListener", bodyContent="empty") public final class ActionListenerHandler extends TagHandler implements ActionSource2AttachedObjectHandler
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 Constructor Description ActionListenerHandler(TagConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(FaceletContext ctx, UIComponent parent)
void
applyAttachedObject(FacesContext context, UIComponent parent)
String
getFor()
-
Methods inherited from class jakarta.faces.view.facelets.TagHandler
getAttribute, getRequiredAttribute, toString
-
-
-
-
Constructor Detail
-
ActionListenerHandler
public ActionListenerHandler(TagConfig config)
-
-
Method Detail
-
apply
public void apply(FaceletContext ctx, UIComponent parent) throws IOException, FacesException, FaceletException, jakarta.el.ELException
- Specified by:
apply
in interfaceFaceletHandler
- Throws:
IOException
FacesException
FaceletException
jakarta.el.ELException
-
applyAttachedObject
public void applyAttachedObject(FacesContext context, UIComponent parent)
- Specified by:
applyAttachedObject
in interfaceAttachedObjectHandler
-
getFor
@JSFFaceletAttribute public String getFor()
- Specified by:
getFor
in interfaceAttachedObjectHandler
-
-