public class ViewMetadataImpl
extends jakarta.faces.view.ViewMetadata
ViewMetadata| Constructor and Description |
|---|
ViewMetadataImpl(String viewId) |
| Modifier and Type | Method and Description |
|---|---|
jakarta.faces.component.UIViewRoot |
createMetadataView(jakarta.faces.context.FacesContext context)
Creates a new |
String |
getViewId()
Get the view id |
public ViewMetadataImpl(String viewId)
public String getViewId()
jakarta.faces.view.ViewMetadataGet the view id
getViewId in class jakarta.faces.view.ViewMetadataViewMetadata instance was createdViewMetadata.getViewId()public jakarta.faces.component.UIViewRoot createMetadataView(jakarta.faces.context.FacesContext context)
jakarta.faces.view.ViewMetadata
Creates a new UIViewRoot containing only view parameter metadata. The processing of building this
UIViewRoot with metadata should not cause any events to be published to the application. The
implementation must call FacesContext.setProcessingEvents(boolean) passing false as the argument, at the
beginning of the method, and pass true to the same method at the end. The implementation must ensure
that this happens regardless of ant exceptions that may be thrown.
Take note a compliant implementation has to ensure that:
UIImportConstants must be processed after applying the tag handlers.createMetadataView in class jakarta.faces.view.ViewMetadatacontext - the FacesContext for the current requestUIViewRoot containing only view parameter metadata (if any)ViewMetadata.createMetadataView(jakarta.faces.context.FacesContext)Copyright © 2010–2022 JBoss by Red Hat. All rights reserved.