Package org.apache.myfaces.taglib.core
Class DelegateValueChangeListener
- java.lang.Object
-
- 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: <f:valueChangeListener binding="#{mybean}"/> or <f:valueChangeListener type="#{'anyid'}" binding="#{mybean}"/> 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$ $Date$
- Author:
- Leonardo Uribe (latest modification by $Author$)
-
-
Constructor Summary
Constructors Constructor Description DelegateValueChangeListener()DelegateValueChangeListener(javax.el.ValueExpression type, javax.el.ValueExpression binding)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisTransient()voidprocessValueChange(ValueChangeEvent event)voidrestoreState(FacesContext facesContext, Object state)ObjectsaveState(FacesContext facesContext)voidsetTransient(boolean arg0)
-
-
-
Method Detail
-
isTransient
public boolean isTransient()
- Specified by:
isTransientin interfaceStateHolder
-
restoreState
public void restoreState(FacesContext facesContext, Object state)
- Specified by:
restoreStatein interfaceStateHolder
-
saveState
public Object saveState(FacesContext facesContext)
- Specified by:
saveStatein interfaceStateHolder
-
setTransient
public void setTransient(boolean arg0)
- Specified by:
setTransientin interfaceStateHolder
-
processValueChange
public void processValueChange(ValueChangeEvent event) throws AbortProcessingException
- Specified by:
processValueChangein interfaceValueChangeListener- Throws:
AbortProcessingException
-
-