Class CreateDynamicCompositeComponentListener
- java.lang.Object
- 
- org.apache.myfaces.view.facelets.tag.composite.CreateDynamicCompositeComponentListener
 
- 
- All Implemented Interfaces:
- StateHolder,- ComponentSystemEventListener,- FacesListener,- EventListener
 
 public class CreateDynamicCompositeComponentListener extends Object implements ComponentSystemEventListener, StateHolder This listener must be attached to PostAddToViewEvent, so when composite component is added to the view, the algorithm that create the composite component content is executed.- Author:
- lu4242
 
- 
- 
Constructor SummaryConstructors Constructor Description CreateDynamicCompositeComponentListener()CreateDynamicCompositeComponentListener(String taglibURI, String tagName, Map<String,Object> attributes, String baseKey)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisTransient()voidprocessEvent(ComponentSystemEvent event)voidrestoreState(FacesContext context, Object state)ObjectsaveState(FacesContext context)voidsetTransient(boolean newTransientValue)
 
- 
- 
- 
Method Detail- 
processEventpublic void processEvent(ComponentSystemEvent event) - Specified by:
- processEventin interface- ComponentSystemEventListener
 
 - 
saveStatepublic Object saveState(FacesContext context) - Specified by:
- saveStatein interface- StateHolder
 
 - 
restoreStatepublic void restoreState(FacesContext context, Object state) - Specified by:
- restoreStatein interface- StateHolder
 
 - 
isTransientpublic boolean isTransient() - Specified by:
- isTransientin interface- StateHolder
 
 - 
setTransientpublic void setTransient(boolean newTransientValue) - Specified by:
- setTransientin interface- StateHolder
 
 
- 
 
-