| com.sun.facelets.FaceletViewHandler
All known Subclasses: com.sun.facelets.FaceletPortletViewHandler,
FaceletViewHandler | public class FaceletViewHandler extends ViewHandler (Code) | | ViewHandler implementation for Facelets
author: Jacob Hookom version: $Id: FaceletViewHandler.java,v 1.49.2.6 2006/03/20 07:22:00 jhook version: Exp $ |
Inner Class :protected static class NullWriter extends Writer | |
Method Summary | |
protected void | buildView(FacesContext context, UIViewRoot viewToRender) | public Locale | calculateLocale(FacesContext context) | public String | calculateRenderKitId(FacesContext context) | protected Compiler | createCompiler() | protected FaceletFactory | createFaceletFactory(Compiler c) | protected ResponseWriter | createResponseWriter(FacesContext context) | public UIViewRoot | createView(FacesContext context, String viewId) | public String | getActionURL(FacesContext context, String viewId) | public String | getDefaultSuffix(FacesContext context) | protected String | getRenderedViewId(FacesContext context, String actionId) | public String | getResourceURL(FacesContext context, String path) | protected String | getResponseContentType(FacesContext context, String orig) | protected String | getResponseEncoding(FacesContext context, String orig) | protected ViewHandler | getWrapped() | protected void | handleFaceletNotFound(FacesContext context, String viewId) | protected void | handleRenderException(FacesContext context, Exception e) | protected void | initialize(FacesContext context) Initialize the ViewHandler during its first request. | protected void | initializeCompiler(Compiler c) | public void | renderView(FacesContext context, UIViewRoot viewToRender) | public UIViewRoot | restoreView(FacesContext context, String viewId) | public void | writeState(FacesContext context) |
DEFAULT_REFRESH_PERIOD | final public static long DEFAULT_REFRESH_PERIOD(Code) | | |
PARAM_BUFFER_SIZE | final public static String PARAM_BUFFER_SIZE(Code) | | |
PARAM_BUILD_BEFORE_RESTORE | final public static String PARAM_BUILD_BEFORE_RESTORE(Code) | | |
PARAM_DECORATORS | final public static String PARAM_DECORATORS(Code) | | |
PARAM_DEVELOPMENT | final public static String PARAM_DEVELOPMENT(Code) | | |
PARAM_LIBRARIES | final public static String PARAM_LIBRARIES(Code) | | |
PARAM_REFRESH_PERIO | final public static String PARAM_REFRESH_PERIO(Code) | | Spelling error, We'll remove this in a future release.
|
PARAM_REFRESH_PERIOD | final public static String PARAM_REFRESH_PERIOD(Code) | | |
PARAM_RESOURCE_RESOLVER | final public static String PARAM_RESOURCE_RESOLVER(Code) | | |
PARAM_SKIP_COMMENTS | final public static String PARAM_SKIP_COMMENTS(Code) | | |
PARAM_VIEW_MAPPINGS | final public static String PARAM_VIEW_MAPPINGS(Code) | | Context initialization parameter for defining what viewIds should be
handled by Facelets, and what should not. When left unset, all URLs will
be handled by Facelets. When set, it must be a semicolon separated list
of either extension mappings or prefix mappings. For example:
<context-param>
<param-name>facelets.VIEW_MAPPINGS</param-name>
<param-value>/demos/*; *.xhtml</param-value>
</context-param>
would use Facelets for processing all viewIds in the "/demos" directory
or that end in .xhtml, and use the standard JSP engine for all other
viewIds.
NOTE: when using this parameter, you need to use
prefix-mapping for the FacesServlet (that is,
/faces/* , not *.jsf ).
|
FaceletViewHandler | public FaceletViewHandler(ViewHandler parent)(Code) | | |
buildView | protected void buildView(FacesContext context, UIViewRoot viewToRender) throws IOException, FacesException(Code) | | |
calculateLocale | public Locale calculateLocale(FacesContext context)(Code) | | |
calculateRenderKitId | public String calculateRenderKitId(FacesContext context)(Code) | | |
createResponseWriter | protected ResponseWriter createResponseWriter(FacesContext context) throws IOException, FacesException(Code) | | |
createView | public UIViewRoot createView(FacesContext context, String viewId)(Code) | | |
getDefaultSuffix | public String getDefaultSuffix(FacesContext context) throws FacesException(Code) | | |
getRenderedViewId | protected String getRenderedViewId(FacesContext context, String actionId)(Code) | | |
getResponseContentType | protected String getResponseContentType(FacesContext context, String orig)(Code) | | Generate the content type
Parameters: context - Parameters: orig - |
getResponseEncoding | protected String getResponseEncoding(FacesContext context, String orig)(Code) | | Generate the encoding
Parameters: context - Parameters: orig - |
getWrapped | protected ViewHandler getWrapped()(Code) | | |
handleFaceletNotFound | protected void handleFaceletNotFound(FacesContext context, String viewId) throws FacesException, IOException(Code) | | |
handleRenderException | protected void handleRenderException(FacesContext context, Exception e) throws IOException, ELException, FacesException(Code) | | |
initialize | protected void initialize(FacesContext context)(Code) | | Initialize the ViewHandler during its first request.
|
renderView | public void renderView(FacesContext context, UIViewRoot viewToRender) throws IOException, FacesException(Code) | | |
restoreView | public UIViewRoot restoreView(FacesContext context, String viewId)(Code) | | |
|
|