Class RefreshDynamicComponentListener
java.lang.Object
org.apache.myfaces.view.facelets.compiler.RefreshDynamicComponentListener
- All Implemented Interfaces:
- StateHolder,- ComponentSystemEventListener,- FacesListener,- EventListener
public final class RefreshDynamicComponentListener
extends Object
implements ComponentSystemEventListener, StateHolder
This listener must be attached to PostRestoreStateEvent so when the view is restored, 
 the algorithm refresh the component that was created using facelets, restoring the
 transient markup.
- Author:
- lu4242
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanvoidprocessEvent(ComponentSystemEvent event) voidrestoreState(FacesContext context, Object state) saveState(FacesContext context) voidsetTransient(boolean newTransientValue) 
- 
Constructor Details- 
RefreshDynamicComponentListener
- 
RefreshDynamicComponentListenerpublic RefreshDynamicComponentListener()
 
- 
- 
Method Details- 
processEvent- Specified by:
- processEventin interface- ComponentSystemEventListener
 
- 
saveState- Specified by:
- saveStatein interface- StateHolder
 
- 
restoreState- Specified by:
- restoreStatein interface- StateHolder
 
- 
isTransientpublic boolean isTransient()- Specified by:
- isTransientin interface- StateHolder
 
- 
setTransientpublic void setTransient(boolean newTransientValue) - Specified by:
- setTransientin interface- StateHolder
 
 
-