Class ActionListenerHandler
- java.lang.Object
-
- javax.faces.view.facelets.TagHandler
-
- org.apache.myfaces.view.facelets.tag.jsf.core.ActionListenerHandler
-
- All Implemented Interfaces:
ActionSource2AttachedObjectHandler
,AttachedObjectHandler
,FaceletHandler
@JSFFaceletTag(name="f:actionListener", bodyContent="empty", tagClass="org.apache.myfaces.taglib.core.ActionListenerTag") public final class ActionListenerHandler extends TagHandler implements ActionSource2AttachedObjectHandler
Register an ActionListener instance on the UIComponent associated with the closest parent UIComponent custom action. See javax.faces.event.ActionListener See javax.faces.component.ActionSource- Version:
- $Id$
- Author:
- Jacob Hookom
-
-
Field Summary
-
Fields inherited from class javax.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 javax.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, javax.el.ELException
- Specified by:
apply
in interfaceFaceletHandler
- Throws:
IOException
FacesException
FaceletException
javax.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
-
-