public class RewriteViewHandler
extends javax.faces.application.ViewHandlerWrapper
| Modifier and Type | Field and Description |
|---|---|
protected javax.faces.application.ViewHandler |
parent |
CHARACTER_ENCODING_KEY, DEFAULT_FACELETS_SUFFIX, DEFAULT_SUFFIX, DEFAULT_SUFFIX_PARAM_NAME, DISABLE_FACELET_JSF_VIEWHANDLER_PARAM_NAME, FACELETS_BUFFER_SIZE_PARAM_NAME, FACELETS_DECORATORS_PARAM_NAME, FACELETS_LIBRARIES_PARAM_NAME, FACELETS_REFRESH_PERIOD_PARAM_NAME, FACELETS_SKIP_COMMENTS_PARAM_NAME, FACELETS_SUFFIX_PARAM_NAME, FACELETS_VIEW_MAPPINGS_PARAM_NAME| Constructor and Description |
|---|
RewriteViewHandler(javax.faces.application.ViewHandler viewHandler) |
| Modifier and Type | Method and Description |
|---|---|
String |
calculateCharacterEncoding(javax.faces.context.FacesContext context) |
Locale |
calculateLocale(javax.faces.context.FacesContext facesContext) |
String |
calculateRenderKitId(javax.faces.context.FacesContext facesContext) |
javax.faces.component.UIViewRoot |
createView(javax.faces.context.FacesContext context,
String viewId) |
String |
deriveLogicalViewId(javax.faces.context.FacesContext context,
String rawViewId) |
String |
deriveViewId(javax.faces.context.FacesContext context,
String rawViewId)
Canonicalize the given viewId, then pass that viewId to the next ViewHandler in the chain.
|
String |
getActionURL(javax.faces.context.FacesContext context,
String viewId) |
String |
getBookmarkableURL(javax.faces.context.FacesContext context,
String viewId,
Map<String,List<String>> parameters,
boolean includeViewParams) |
List<FacesActionUrlProvider> |
getProviders() |
String |
getRedirectURL(javax.faces.context.FacesContext context,
String viewId,
Map<String,List<String>> parameters,
boolean includeViewParams) |
String |
getResourceURL(javax.faces.context.FacesContext facesContext,
String path) |
javax.faces.view.ViewDeclarationLanguage |
getViewDeclarationLanguage(javax.faces.context.FacesContext context,
String viewId) |
String |
getWebsocketURL(javax.faces.context.FacesContext context,
String channel) |
void |
initView(javax.faces.context.FacesContext context) |
void |
renderView(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIViewRoot viewRoot) |
javax.faces.component.UIViewRoot |
restoreView(javax.faces.context.FacesContext context,
String viewId) |
void |
writeState(javax.faces.context.FacesContext facesContext) |
public RewriteViewHandler(javax.faces.application.ViewHandler viewHandler)
public String deriveLogicalViewId(javax.faces.context.FacesContext context, String rawViewId)
deriveLogicalViewId in class javax.faces.application.ViewHandlerWrapperpublic Locale calculateLocale(javax.faces.context.FacesContext facesContext)
calculateLocale in class javax.faces.application.ViewHandlerWrapperpublic String calculateRenderKitId(javax.faces.context.FacesContext facesContext)
calculateRenderKitId in class javax.faces.application.ViewHandlerWrapperpublic javax.faces.component.UIViewRoot createView(javax.faces.context.FacesContext context,
String viewId)
createView in class javax.faces.application.ViewHandlerWrapperpublic javax.faces.component.UIViewRoot restoreView(javax.faces.context.FacesContext context,
String viewId)
restoreView in class javax.faces.application.ViewHandlerWrapperpublic String getActionURL(javax.faces.context.FacesContext context, String viewId)
getActionURL in class javax.faces.application.ViewHandlerWrapperpublic List<FacesActionUrlProvider> getProviders()
public String getBookmarkableURL(javax.faces.context.FacesContext context, String viewId, Map<String,List<String>> parameters, boolean includeViewParams)
getBookmarkableURL in class javax.faces.application.ViewHandlerWrapperpublic String getRedirectURL(javax.faces.context.FacesContext context, String viewId, Map<String,List<String>> parameters, boolean includeViewParams)
getRedirectURL in class javax.faces.application.ViewHandlerWrapperpublic String getResourceURL(javax.faces.context.FacesContext facesContext, String path)
getResourceURL in class javax.faces.application.ViewHandlerWrapperpublic String getWebsocketURL(javax.faces.context.FacesContext context, String channel)
getWebsocketURL in class javax.faces.application.ViewHandlerWrapperpublic void renderView(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIViewRoot viewRoot)
throws IOException,
javax.faces.FacesException
renderView in class javax.faces.application.ViewHandlerWrapperIOExceptionjavax.faces.FacesExceptionpublic void writeState(javax.faces.context.FacesContext facesContext)
throws IOException
writeState in class javax.faces.application.ViewHandlerWrapperIOExceptionpublic String deriveViewId(javax.faces.context.FacesContext context, String rawViewId)
deriveViewId in class javax.faces.application.ViewHandlerWrapperpublic String calculateCharacterEncoding(javax.faces.context.FacesContext context)
calculateCharacterEncoding in class javax.faces.application.ViewHandlerWrapperpublic javax.faces.view.ViewDeclarationLanguage getViewDeclarationLanguage(javax.faces.context.FacesContext context,
String viewId)
getViewDeclarationLanguage in class javax.faces.application.ViewHandlerWrapperpublic void initView(javax.faces.context.FacesContext context)
throws javax.faces.FacesException
initView in class javax.faces.application.ViewHandlerWrapperjavax.faces.FacesExceptionCopyright © 2019 OCPsoft. All rights reserved.