org.apache.myfaces.taglib.core
Class DelegateValueChangeListener

java.lang.Object
  extended by org.apache.myfaces.taglib.core.DelegateValueChangeListener
All Implemented Interfaces:
EventListener, StateHolder, FacesListener, ValueChangeListener

public class DelegateValueChangeListener
extends Object
implements ValueChangeListener, StateHolder

This class is used in conjunction with ValueChangeListenerTag. When a tag like this is in a jsp page: or The value of mybean could be already on the context, so this converter avoid creating a new variable and use the previous one.

Version:
$Revision: 600199 $ $Date: 2007-12-01 16:28:15 -0500 (Sat, 01 Dec 2007) $
Author:
Leonardo Uribe (latest modification by $Author: lu4242 $)

Constructor Summary
DelegateValueChangeListener()
           
DelegateValueChangeListener(javax.el.ValueExpression type, javax.el.ValueExpression binding)
           
 
Method Summary
 boolean isTransient()
           
 void processValueChange(ValueChangeEvent event)
           
 void restoreState(FacesContext facesContext, Object state)
           
 Object saveState(FacesContext facesContext)
           
 void setTransient(boolean arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelegateValueChangeListener

public DelegateValueChangeListener()

DelegateValueChangeListener

public DelegateValueChangeListener(javax.el.ValueExpression type,
                                   javax.el.ValueExpression binding)
Method Detail

isTransient

public boolean isTransient()
Specified by:
isTransient in interface StateHolder

restoreState

public void restoreState(FacesContext facesContext,
                         Object state)
Specified by:
restoreState in interface StateHolder

saveState

public Object saveState(FacesContext facesContext)
Specified by:
saveState in interface StateHolder

setTransient

public void setTransient(boolean arg0)
Specified by:
setTransient in interface StateHolder

processValueChange

public void processValueChange(ValueChangeEvent event)
                        throws AbortProcessingException
Specified by:
processValueChange in interface ValueChangeListener
Throws:
AbortProcessingException


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