org.apache.myfaces.view.facelets.tag.jsf.core
Class ActionListenerHandler

java.lang.Object
  extended by javax.faces.view.facelets.TagHandler
      extended by 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 tag documentation.

Version:
$Id: ActionListenerHandler.java 1194861 2011-10-29 10:02:34Z struberg $
Author:
Jacob Hookom
See Also:
ActionListener, ActionSource

Field Summary
 
Fields inherited from class javax.faces.view.facelets.TagHandler
nextHandler, tag, tagId
 
Constructor Summary
ActionListenerHandler(TagConfig config)
           
 
Method Summary
 void apply(FaceletContext ctx, UIComponent parent)
           
 void applyAttachedObject(FacesContext context, UIComponent parent)
           
 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
 

Constructor Detail

ActionListenerHandler

public ActionListenerHandler(TagConfig config)
Parameters:
config -
Method Detail

apply

public void apply(FaceletContext ctx,
                  UIComponent parent)
           throws IOException,
                  FacesException,
                  FaceletException,
                  javax.el.ELException
Specified by:
apply in interface FaceletHandler
Throws:
IOException
FacesException
FaceletException
javax.el.ELException

applyAttachedObject

public void applyAttachedObject(FacesContext context,
                                UIComponent parent)
Specified by:
applyAttachedObject in interface AttachedObjectHandler

getFor

@JSFFaceletAttribute
public String getFor()
TODO: Document me!

Specified by:
getFor in interface AttachedObjectHandler


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.