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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
processEvent
(ComponentSystemEvent event) void
restoreState
(FacesContext context, Object state) saveState
(FacesContext context) void
setTransient
(boolean newTransientValue)
-
Constructor Details
-
CreateDynamicCompositeComponentListener
-
CreateDynamicCompositeComponentListener
public CreateDynamicCompositeComponentListener()
-
-
Method Details
-
processEvent
- Specified by:
processEvent
in interfaceComponentSystemEventListener
-
saveState
- Specified by:
saveState
in interfaceStateHolder
-
restoreState
- Specified by:
restoreState
in interfaceStateHolder
-
isTransient
public boolean isTransient()- Specified by:
isTransient
in interfaceStateHolder
-
setTransient
public void setTransient(boolean newTransientValue) - Specified by:
setTransient
in interfaceStateHolder
-