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 voidUIComponent. processEvent(ComponentSystemEvent event)The default implementation performs the following action.voidUIViewRoot. processEvent(ComponentSystemEvent event)If the argumenteventis an instance ofPostRestoreStateEventandPartialViewContext.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 classPostAddToViewEventWhen 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 thesourceof this event instance is aUIComponentinstance and that either that instance or an ancestor of that instance was just added to the view.classPostConstructViewMapEventThis event must be published by a call to {jakarta.faces.application.Application#publishEvent} when the view map is first created.classPostRenderViewEventWhen 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 thesourceof this event instance is theUIViewRootinstance that has just been rendered.classPostRestoreStateEventWhen 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 thesourceof this event instance is in a tree that has just had its state restored.classPostValidateEventWhen 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 thesourceof this event instance is theUIComponentinstance that is that has just been validated.classPreDestroyViewMapEventThis 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 theclearmethod is called on the map returned fromUIViewRoot.getViewMap().classPreRemoveFromViewEventWhen 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 thesourceof this event instance is aUIComponentinstance that is about to be removed from the view.classPreRenderComponentEventWhen 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 thesourceof this event instance is theUIComponentinstance 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.classPreRenderViewEventWhen 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 thesourceof this event instance is theUIViewRootinstance that is about to be rendered.classPreValidateEventWhen 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 thesourceof this event instance is theUIComponentinstance that is about to be validated.Methods in jakarta.faces.event with parameters of type ComponentSystemEvent Modifier and Type Method Description voidComponentSystemEventListener. processEvent(ComponentSystemEvent event)When called, the listener can assume that any guarantees given in the javadoc for the specificSystemEventsubclass are true.
-