de.mindmatters.faces.application
Class ExtendedFaceletViewHandler
java.lang.Object
javax.faces.application.ViewHandler
com.sun.facelets.FaceletViewHandler
de.mindmatters.faces.application.ExtendedFaceletViewHandler
public class ExtendedFaceletViewHandler
- extends com.sun.facelets.FaceletViewHandler
Extends FaceletViewHandler
to implement
ViewBuilder.buildView(FacesContext, String)
.
Should never used directly within a faces-config file. Will be
instantiated by the FaceletViewBuilder
class via reflection.
- Author:
- Andreas Kuhrwahl
Nested classes/interfaces inherited from class com.sun.facelets.FaceletViewHandler |
com.sun.facelets.FaceletViewHandler.NullWriter |
Fields inherited from class com.sun.facelets.FaceletViewHandler |
DEFAULT_REFRESH_PERIOD, log, PARAM_BUFFER_SIZE, PARAM_BUILD_BEFORE_RESTORE, PARAM_DECORATORS, PARAM_DEVELOPMENT, PARAM_LIBRARIES, PARAM_REFRESH_PERIO, PARAM_RESOURCE_RESOLVER, PARAM_SKIP_COMMENTS, PARAM_VIEW_MAPPINGS |
Methods inherited from class com.sun.facelets.FaceletViewHandler |
calculateLocale, calculateRenderKitId, createCompiler, createFaceletFactory, createResponseWriter, createView, getActionURL, getDefaultSuffix, getResourceURL, getResponseContentType, getResponseEncoding, getWrapped, handleFaceletNotFound, handleRenderException, initializeCompiler, renderView, restoreView, writeState |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExtendedFaceletViewHandler
public ExtendedFaceletViewHandler(ViewHandler viewHandler)
- Default constructor. Must be invoked by subclasses.
- Parameters:
viewHandler
- the original ViewHandler of the underlying JSF implementation.
initialize
protected void initialize(FacesContext context)
- Initialize the ViewHandler during its first request.
- Overrides:
initialize
in class com.sun.facelets.FaceletViewHandler
getRenderedViewId
protected final java.lang.String getRenderedViewId(FacesContext context,
java.lang.String actionId)
-
- Overrides:
getRenderedViewId
in class com.sun.facelets.FaceletViewHandler
buildView
public final UIViewRoot buildView(FacesContext context,
java.lang.String viewId)
throws java.io.IOException
- Builds the view.
- Parameters:
context
- FacesContext
for the current requestviewId
- the view identifier for the current request
- Returns:
- the created
UIViewRoot
- Throws:
FacesException
- if a servlet error occurs
java.io.IOException
- if an input/output error occurs
buildView
protected final void buildView(FacesContext context,
UIViewRoot viewToRender)
throws java.io.IOException
-
- Overrides:
buildView
in class com.sun.facelets.FaceletViewHandler
- Throws:
java.io.IOException
Copyright © 2006 mindmatters GmbH & Co. KG