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:
javax.faces.view.AttachedObjectHandler, javax.faces.view.EditableValueHolderAttachedObjectHandler, javax.faces.view.facelets.FaceletHandler, javax.faces.view.ValueHolderAttachedObjectHandler

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

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

See tag documentation.

Version:
$Id: ValueChangeListenerHandler.java,v 1.2 2005/08/24 04:38:50 jhook Exp $
Author:
Jacob Hookom

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

Constructor Detail

ValueChangeListenerHandler

public ValueChangeListenerHandler(javax.faces.view.facelets.TagConfig config)
Method Detail

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
See taglib documentation.

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
See Also:
FaceletHandler.apply(javax.faces.view.facelets.FaceletContext, javax.faces.component.UIComponent)

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.