public class ViewMetadataImpl extends ViewMetadata
ViewMetadata
Constructor and Description |
---|
ViewMetadataImpl(String viewId) |
Modifier and Type | Method and Description |
---|---|
UIViewRoot |
createMetadataView(FacesContext context)
Creates a new |
String |
getViewId()
Get the view id |
getImportConstants, getViewActions, getViewParameters, hasMetadata
public ViewMetadataImpl(String viewId)
public String getViewId()
ViewMetadata
Get the view id
getViewId
in class ViewMetadata
ViewMetadata
instance
was createdViewMetadata.getViewId()
public UIViewRoot createMetadataView(FacesContext context)
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 ViewMetadata
context
- the FacesContext
for the current requestUIViewRoot
containing only view parameter metadata
(if any)ViewMetadata.createMetadataView(javax.faces.context.FacesContext)
Comments to: faces-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation. All rights reserved.
Use is subject to license terms.