org.apache.myfaces.view.facelets.tag.composite
Class CreateDynamicCompositeComponentListener
java.lang.Object
org.apache.myfaces.view.facelets.tag.composite.CreateDynamicCompositeComponentListener
- All Implemented Interfaces:
- EventListener, StateHolder, ComponentSystemEventListener, FacesListener
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CreateDynamicCompositeComponentListener
public CreateDynamicCompositeComponentListener(String taglibURI,
String tagName,
Map<String,Object> attributes,
String baseKey)
CreateDynamicCompositeComponentListener
public CreateDynamicCompositeComponentListener()
processEvent
public void processEvent(ComponentSystemEvent event)
- Specified by:
processEvent
in interface ComponentSystemEventListener
saveState
public Object saveState(FacesContext context)
- Specified by:
saveState
in interface StateHolder
restoreState
public void restoreState(FacesContext context,
Object state)
- Specified by:
restoreState
in interface StateHolder
isTransient
public boolean isTransient()
- Specified by:
isTransient
in interface StateHolder
setTransient
public void setTransient(boolean newTransientValue)
- Specified by:
setTransient
in interface StateHolder
Copyright © 2014 The Apache Software Foundation. All rights reserved.