Uses of Class
jakarta.faces.event.ComponentSystemEvent
-
Packages that use ComponentSystemEvent Package Description jakarta.faces.component jakarta.faces.event -
-
Uses of ComponentSystemEvent in jakarta.faces.component
Methods in jakarta.faces.component with parameters of type ComponentSystemEvent Modifier and Type Method Description void
UIComponent. processEvent(ComponentSystemEvent event)
The default implementation performs the following action.void
UIViewRoot. processEvent(ComponentSystemEvent event)
If the argumentevent
is an instance ofPostRestoreStateEvent
andPartialViewContext.isPartialRequest()
returnstrue
, then loop over all component resources and callResourceHandler.markResourceRendered(FacesContext, String, String)
for each of them. -
Uses of ComponentSystemEvent in jakarta.faces.event
Subclasses of ComponentSystemEvent in jakarta.faces.event Modifier and Type Class Description class
PostAddToViewEvent
When an instance of this event is passed toSystemEventListener.processEvent(jakarta.faces.event.SystemEvent)
orComponentSystemEventListener.processEvent(jakarta.faces.event.ComponentSystemEvent)
, the listener implementation may assume that thesource
of this event instance is aUIComponent
instance and that either that instance or an ancestor of that instance was just added to the view.class
PostConstructViewMapEvent
This event must be published by a call to {jakarta.faces.application.Application#publishEvent} when the view map is first created.class
PostRenderViewEvent
When an instance of this event is passed toSystemEventListener.processEvent(jakarta.faces.event.SystemEvent)
orComponentSystemEventListener.processEvent(jakarta.faces.event.ComponentSystemEvent)
, the listener implementation may assume that thesource
of this event instance is theUIViewRoot
instance that has just been rendered.class
PostRestoreStateEvent
When an instance of this event is passed toSystemEventListener.processEvent(jakarta.faces.event.SystemEvent)
orComponentSystemEventListener.processEvent(jakarta.faces.event.ComponentSystemEvent)
, the listener implementation may assume that thesource
of this event instance is in a tree that has just had its state restored.class
PostValidateEvent
When an instance of this event is passed toSystemEventListener.processEvent(jakarta.faces.event.SystemEvent)
orComponentSystemEventListener.processEvent(jakarta.faces.event.ComponentSystemEvent)
, the listener implementation may assume that thesource
of this event instance is theUIComponent
instance that is that has just been validated.class
PreDestroyViewMapEvent
This event must be published by a call toApplication.publishEvent(jakarta.faces.context.FacesContext, java.lang.Class<? extends jakarta.faces.event.SystemEvent>, java.lang.Object)
when theclear
method is called on the map returned fromUIViewRoot.getViewMap()
.class
PreRemoveFromViewEvent
When an instance of this event is passed toSystemEventListener.processEvent(jakarta.faces.event.SystemEvent)
orComponentSystemEventListener.processEvent(jakarta.faces.event.ComponentSystemEvent)
, the listener implementation may assume that thesource
of this event instance is aUIComponent
instance that is about to be removed from the view.class
PreRenderComponentEvent
When an instance of this event is passed toSystemEventListener.processEvent(jakarta.faces.event.SystemEvent)
orComponentSystemEventListener.processEvent(jakarta.faces.event.ComponentSystemEvent)
, the listener implementation may assume that thesource
of this event instance is theUIComponent
instance that is about to be rendered and that it is safe to callUIComponent.getParent()
,UIComponent.getClientId()
, and other methods that depend upon the component instance being in the view.class
PreRenderViewEvent
When an instance of this event is passed toSystemEventListener.processEvent(jakarta.faces.event.SystemEvent)
orComponentSystemEventListener.processEvent(jakarta.faces.event.ComponentSystemEvent)
, the listener implementation may assume that thesource
of this event instance is theUIViewRoot
instance that is about to be rendered.class
PreValidateEvent
When an instance of this event is passed toSystemEventListener.processEvent(jakarta.faces.event.SystemEvent)
orComponentSystemEventListener.processEvent(jakarta.faces.event.ComponentSystemEvent)
, the listener implementation may assume that thesource
of this event instance is theUIComponent
instance that is about to be validated.Methods in jakarta.faces.event with parameters of type ComponentSystemEvent Modifier and Type Method Description void
ComponentSystemEventListener. processEvent(ComponentSystemEvent event)
When called, the listener can assume that any guarantees given in the javadoc for the specificSystemEvent
subclass are true.
-