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 ActionSource2AttachedObjectHandlerRegister 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 voidapply(FaceletContext ctx, UIComponent parent)voidapplyAttachedObject(FacesContext context, UIComponent parent)StringgetFor()-
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:
applyin interfaceFaceletHandler- Throws:
IOExceptionFacesExceptionFaceletExceptionjakarta.el.ELException
-
applyAttachedObject
public void applyAttachedObject(FacesContext context, UIComponent parent)
- Specified by:
applyAttachedObjectin interfaceAttachedObjectHandler
-
getFor
@JSFFaceletAttribute public String getFor()
- Specified by:
getForin interfaceAttachedObjectHandler
-
-