Create and return a new {@link UIViewRoot} instanceinitialized with information from the argument FacesContext
and viewId
.
If there is an existing ViewRoot
available on the {@link FacesContext}, this method must copy its locale
and renderKitId
to this new view root. If not, this method must call {@link #calculateLocale} and{@link #calculateRenderKitId}, and store the results as the values of the locale
and renderKitId
, proeprties, respectively, of the newly created UIViewRoot
.
context
is null
Unlike ViewHandler.createView(), null is an acceptable return value - it indicates that a default, empty UIViewRoot for this viewId should be created on behalf of the InternalView, which might populate the view during renderView().
Creates a view, which may be used to embed the statement into a separate query.
Creates and returns the view root. This method may optionally intialize the view root with any data that need only be done once per instance. Generally, this will include providing the root access to itself or its IViewDefnAdapterFactory so that it can refresh itself.
@param facesContext @param viewId @return a designtime view root instance of viewId under the given facescontext @throws ViewHandlerException
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|