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

java.lang.Object
  extended by javax.faces.view.facelets.TagHandler
      extended by org.apache.myfaces.view.facelets.tag.jsf.core.ValueChangeListenerHandler
All Implemented Interfaces:
AttachedObjectHandler, EditableValueHolderAttachedObjectHandler, FaceletHandler, ValueHolderAttachedObjectHandler

@JSFFaceletTag(name="f:valueChangeListener",
               bodyContent="empty",
               tagClass="org.apache.myfaces.taglib.core.ValueChangeListenerTag")
public final class ValueChangeListenerHandler
extends TagHandler
implements EditableValueHolderAttachedObjectHandler

Register an ValueChangeListener instance on the UIComponent associated with the closest parent UIComponent custom action.

See tag documentation.

Version:
$Id: ValueChangeListenerHandler.java 1187700 2011-10-22 12:19:37Z bommel $
Author:
Jacob Hookom

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

ValueChangeListenerHandler

public ValueChangeListenerHandler(TagConfig config)
Method Detail

apply

public void apply(FaceletContext ctx,
                  UIComponent parent)
           throws IOException,
                  FacesException,
                  FaceletException,
                  javax.el.ELException
See taglib documentation.

Specified by:
apply in interface FaceletHandler
Throws:
IOException
FacesException
FaceletException
javax.el.ELException
See Also:
FaceletHandler.apply(javax.faces.view.facelets.FaceletContext, javax.faces.component.UIComponent)

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.