Uses of Class
jakarta.faces.event.ComponentSystemEvent
Packages that use ComponentSystemEvent
-
Uses of ComponentSystemEvent in jakarta.faces.component
Methods in jakarta.faces.component with parameters of type ComponentSystemEventModifier and TypeMethodDescriptionvoidUIComponent.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.eventModifier and TypeClassDescriptionclassWhen 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.classThis event must be published by a call to {jakarta.faces.application.Application#publishEvent} when the view map is first created.classWhen 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.classWhen 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.classWhen 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.classThis 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().classWhen 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.classWhen 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.classWhen 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.classWhen 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 ComponentSystemEventModifier and TypeMethodDescriptionvoidComponentSystemEventListener.processEvent(ComponentSystemEvent event) When called, the listener can assume that any guarantees given in the javadoc for the specificSystemEventsubclass are true.