org.apache.myfaces.view.facelets.tag.jsf.core
Class ActionListenerHandler
java.lang.Object
javax.faces.view.facelets.TagHandler
org.apache.myfaces.view.facelets.tag.jsf.core.ActionListenerHandler
- All Implemented Interfaces:
- javax.faces.view.ActionSource2AttachedObjectHandler, javax.faces.view.AttachedObjectHandler, javax.faces.view.facelets.FaceletHandler
@JSFFaceletTag(name="f:actionListener",
bodyContent="empty",
tagClass="org.apache.myfaces.taglib.core.ActionListenerTag")
public final class ActionListenerHandler
- extends javax.faces.view.facelets.TagHandler
- implements javax.faces.view.ActionSource2AttachedObjectHandler
Register an ActionListener instance on the UIComponent associated with the closest parent UIComponent custom action.
See tag documentation.
- Version:
- $Id: ActionListenerHandler.java,v 1.7 2008/07/13 19:01:44 rlubke Exp $
- Author:
- Jacob Hookom
- See Also:
ActionListener
,
ActionSource
Fields inherited from class javax.faces.view.facelets.TagHandler |
nextHandler, tag, tagId |
Method Summary |
void |
apply(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent)
|
void |
applyAttachedObject(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent parent)
|
java.lang.String |
getFor()
TODO: Document me! |
Methods inherited from class javax.faces.view.facelets.TagHandler |
getAttribute, getRequiredAttribute, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ActionListenerHandler
public ActionListenerHandler(javax.faces.view.facelets.TagConfig config)
- Parameters:
config
-
apply
public void apply(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent)
throws java.io.IOException,
javax.faces.FacesException,
javax.faces.view.facelets.FaceletException,
javax.el.ELException
- Specified by:
apply
in interface javax.faces.view.facelets.FaceletHandler
- Throws:
java.io.IOException
javax.faces.FacesException
javax.faces.view.facelets.FaceletException
javax.el.ELException
applyAttachedObject
public void applyAttachedObject(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent parent)
- Specified by:
applyAttachedObject
in interface javax.faces.view.AttachedObjectHandler
getFor
@JSFFaceletAttribute
public java.lang.String getFor()
- TODO: Document me!
- Specified by:
getFor
in interface javax.faces.view.AttachedObjectHandler
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.