Package org.ocpsoft.rewrite.faces
Class RewriteViewHandler
java.lang.Object
javax.faces.application.ViewHandler
javax.faces.application.ViewHandlerWrapper
org.ocpsoft.rewrite.faces.RewriteViewHandler
- All Implemented Interfaces:
FacesWrapper<ViewHandler>
- Author:
- Lincoln Baxter, III <lincoln@ocpsoft.com>
-
Field Summary
FieldsFields inherited from class javax.faces.application.ViewHandler
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionderiveViewId(FacesContext context, String rawViewId) Canonicalize the given viewId, then pass that viewId to the next ViewHandler in the chain.getActionURL(FacesContext context, String viewId) getBookmarkableURL(FacesContext context, String viewId, Map<String, List<String>> parameters, boolean includeViewParams) Methods inherited from class javax.faces.application.ViewHandlerWrapper
addProtectedView, calculateCharacterEncoding, calculateLocale, calculateRenderKitId, createView, deriveLogicalViewId, getProtectedViewsUnmodifiable, getRedirectURL, getResourceURL, getViewDeclarationLanguage, getViews, getViews, getWebsocketURL, initView, removeProtectedView, renderView, restoreView, writeState
-
Field Details
-
parent
-
-
Constructor Details
-
RewriteViewHandler
-
-
Method Details
-
getActionURL
- Overrides:
getActionURLin classViewHandlerWrapper
-
getProviders
-
getBookmarkableURL
public String getBookmarkableURL(FacesContext context, String viewId, Map<String, List<String>> parameters, boolean includeViewParams) - Overrides:
getBookmarkableURLin classViewHandlerWrapper
-
deriveViewId
Canonicalize the given viewId, then pass that viewId to the next ViewHandler in the chain.- Overrides:
deriveViewIdin classViewHandlerWrapper
-
getWrapped
- Specified by:
getWrappedin interfaceFacesWrapper<ViewHandler>- Overrides:
getWrappedin classViewHandlerWrapper
-