Uses of Class
jakarta.faces.component.UIViewRoot
Package
Description
-
Uses of UIViewRoot in com.sun.faces.application.view
Modifier and TypeMethodDescriptionViewMetadataImpl.createMetadataView
(FacesContext context) FaceletViewHandlingStrategy.createView
(FacesContext ctx, String viewId) MultiViewHandler.createView
(FacesContext context, String viewId) Derive the physical view ID (i.e.ViewHandlingStrategy.createView
(FacesContext ctx, String viewId) FaceletFullStateManagementStrategy.restoreView
(FacesContext context, String viewId, String renderKitId) Restore the view.FaceletPartialStateManagementStrategy.restoreView
(FacesContext context, String viewId, String renderKitId) Restore the view.FaceletViewHandlingStrategy.restoreView
(FacesContext context, String viewId) IfUIDebug.debugRequest(jakarta.faces.context.FacesContext)
} istrue
, simply return a new UIViewRoot(), otherwise, call the default logic.MultiViewHandler.restoreView
(FacesContext context, String viewId) ViewHandlingStrategy.restoreView
(FacesContext ctx, String viewId) Modifier and TypeMethodDescriptionvoid
FaceletViewHandlingStrategy.buildView
(FacesContext ctx, UIViewRoot view) void
ViewScopeContextManager.fireDestroyedEvent
(FacesContext facesContext, UIViewRoot root) void
ViewScopedCDIEventFireHelper.fireDestroyedEvent
(UIViewRoot root) void
ViewScopedCDIEventFireHelperImpl.fireDestroyedEvent
(UIViewRoot root) void
ViewScopeContextManager.fireInitializedEvent
(FacesContext facesContext, UIViewRoot root) void
ViewScopedCDIEventFireHelper.fireInitializedEvent
(UIViewRoot root) void
ViewScopedCDIEventFireHelperImpl.fireInitializedEvent
(UIViewRoot root) void
FaceletViewHandlingStrategy.renderView
(FacesContext ctx, UIViewRoot viewToRender) void
MultiViewHandler.renderView
(FacesContext context, UIViewRoot viewToRender) CallViewDeclarationLanguage.renderView(jakarta.faces.context.FacesContext, jakarta.faces.component.UIViewRoot)
if the view can be rendered. -
Uses of UIViewRoot in com.sun.faces.config
-
Uses of UIViewRoot in com.sun.faces.config.initfacescontext
-
Uses of UIViewRoot in com.sun.faces.context
Modifier and TypeMethodDescriptionvoid
FacesContextImpl.setViewRoot
(UIViewRoot root) void
StateContext.startTrackViewModifications
(FacesContext ctx, UIViewRoot root) Installs aSystemEventListener
on theUIViewRoot
to track components added to or removed from the view. -
Uses of UIViewRoot in com.sun.faces.facelets.tag.faces
Modifier and TypeMethodDescriptionstatic UIViewRoot
ComponentSupport.getViewRoot
(FaceletContext ctx, UIComponent parent) Tries to walk up the parent to find the UIViewRoot, if not found, then go to FaceletContext's FacesContext for the view root. -
Uses of UIViewRoot in com.sun.faces.util
Modifier and TypeMethodDescriptionstatic boolean
Util.isViewPopulated
(FacesContext ctx, UIViewRoot viewToRender) static void
Util.setViewPopulated
(FacesContext ctx, UIViewRoot viewToRender) Flag the specifiedUIViewRoot
as populated. -
Uses of UIViewRoot in jakarta.faces.application
Modifier and TypeMethodDescriptionabstract UIViewRoot
ViewHandler.createView
(FacesContext context, String viewId) Create and return a newUIViewRoot
instance initialized with information from the argumentFacesContext
andviewId
.ViewHandlerWrapper.createView
(FacesContext context, String viewId) The default behavior of this method is to callViewHandler.createView(jakarta.faces.context.FacesContext, String)
on the wrappedViewHandler
object.abstract UIViewRoot
ViewHandler.restoreView
(FacesContext context, String viewId) Perform whatever actions are required to restore the view associated with the specifiedFacesContext
andviewId
.ViewHandlerWrapper.restoreView
(FacesContext context, String viewId) The default behavior of this method is to callViewHandler.restoreView(jakarta.faces.context.FacesContext, String)
on the wrappedViewHandler
object.Modifier and TypeMethodDescriptionabstract void
ViewHandler.renderView
(FacesContext context, UIViewRoot viewToRender) Perform whatever actions are required to render the response view to the response object associated with the currentFacesContext
.void
ViewHandlerWrapper.renderView
(FacesContext context, UIViewRoot viewToRender) The default behavior of this method is to callViewHandler.renderView(jakarta.faces.context.FacesContext, jakarta.faces.component.UIViewRoot)
on the wrappedViewHandler
object. -
Uses of UIViewRoot in jakarta.faces.context
Modifier and TypeMethodDescriptionabstract UIViewRoot
FacesContext.getViewRoot()
Return the root component that is associated with the this request.FacesContextWrapper.getViewRoot()
The default behavior of this method is to callFacesContext.getViewRoot()
on the wrappedFacesContext
object.Modifier and TypeMethodDescriptionabstract void
FacesContext.setViewRoot
(UIViewRoot root) Set the root component that is associated with this request.void
FacesContextWrapper.setViewRoot
(UIViewRoot root) The default behavior of this method is to callFacesContext.setViewRoot(UIViewRoot)
on the wrappedFacesContext
object. -
Uses of UIViewRoot in jakarta.faces.event
ModifierConstructorDescriptionInstantiate a newPostConstructViewMapEvent
that indicates the argumentroot
was just associated with its view map.PostConstructViewMapEvent
(FacesContext facesContext, UIViewRoot root) Instantiate a newPostConstructViewMapEvent
that indicates the argumentroot
was just associated with its view map.Instantiate a newPostRenderViewEvent
that indicates the argumentroot
has just been rendered.PostRenderViewEvent
(FacesContext facesContext, UIViewRoot root) Instantiate a newPostRenderViewEvent
that indicates the argumentroot
has just been rendered.Instantiate a newViewMapDestroydEvent
that indicates the argumentroot
just had its associated view map destroyed.PreDestroyViewMapEvent
(FacesContext facesContext, UIViewRoot root) Instantiate a newViewMapDestroydEvent
that indicates the argumentroot
just had its associated view map destroyed.PreRenderViewEvent
(UIViewRoot root) Instantiate a newPreRenderViewEvent
that indicates the argumentroot
is about to be rendered.PreRenderViewEvent
(FacesContext facesContext, UIViewRoot root) Instantiate a newPreRenderViewEvent
that indicates the argumentroot
is about to be rendered. -
Uses of UIViewRoot in jakarta.faces.view
Modifier and TypeMethodDescriptionabstract UIViewRoot
ViewMetadata.createMetadataView
(FacesContext context) Creates a newUIViewRoot
containing only view parameter metadata.abstract UIViewRoot
ViewDeclarationLanguage.createView
(FacesContext context, String viewId) Create aUIViewRoot
from the VDL contained in the artifact referenced by the argumentviewId
.ViewDeclarationLanguageWrapper.createView
(FacesContext context, String viewId) abstract UIViewRoot
StateManagementStrategy.restoreView
(FacesContext context, String viewId, String renderKitId) Restore the state of the view with information in the request.abstract UIViewRoot
ViewDeclarationLanguage.restoreView
(FacesContext context, String viewId) Restore aUIViewRoot
from a previously created view.ViewDeclarationLanguageWrapper.restoreView
(FacesContext context, String viewId) Modifier and TypeMethodDescriptionabstract void
ViewDeclarationLanguage.buildView
(FacesContext context, UIViewRoot root) Take any actions specific to this VDL implementation to cause the argumentUIViewRoot
which must have been created via a call toViewDeclarationLanguage.createView(jakarta.faces.context.FacesContext, java.lang.String)
, to be populated with children.void
ViewDeclarationLanguageWrapper.buildView
(FacesContext context, UIViewRoot root) static Collection
<UIImportConstants> ViewMetadata.getImportConstants
(UIViewRoot root) Utility method to extract view metadata from the providedUIViewRoot
.static Collection
<UIViewAction> ViewMetadata.getViewActions
(UIViewRoot root) Utility method to extract view metadata from the providedUIViewRoot
.static Collection
<UIViewParameter> ViewMetadata.getViewParameters
(UIViewRoot root) Utility method to extract view metadata from the providedUIViewRoot
.static boolean
ViewMetadata.hasMetadata
(UIViewRoot root) Utility method to determine if the the providedUIViewRoot
has metadata.abstract void
ViewDeclarationLanguage.renderView
(FacesContext context, UIViewRoot view) Render a view rooted at argumentview
.void
ViewDeclarationLanguageWrapper.renderView
(FacesContext context, UIViewRoot view)