public class FacesViewsViewHandler extends ViewHandlerWrapper
For a guide on FacesViews, please see the package summary.
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 |
---|
FacesViewsViewHandler(ViewHandler viewHandler) |
Modifier and Type | Method and Description |
---|---|
String |
deriveLogicalViewId(FacesContext context,
String viewId) |
String |
getActionURL(FacesContext context,
String viewId) |
static String |
getQueryParameters(String resource)
Extracts the query string from a resource.
|
ViewHandler |
getWrapped() |
String |
removeExtension(FacesContext context,
String resource,
String viewId) |
addProtectedView, calculateCharacterEncoding, calculateLocale, calculateRenderKitId, createView, deriveViewId, getBookmarkableURL, getProtectedViewsUnmodifiable, getRedirectURL, getResourceURL, getViewDeclarationLanguage, initView, removeProtectedView, renderView, restoreView, writeState
public FacesViewsViewHandler(ViewHandler viewHandler)
public String deriveLogicalViewId(FacesContext context, String viewId)
deriveLogicalViewId
in class ViewHandlerWrapper
public String getActionURL(FacesContext context, String viewId)
getActionURL
in class ViewHandlerWrapper
public String removeExtension(FacesContext context, String resource, String viewId)
public static String getQueryParameters(String resource)
resource
- A URL stringpublic ViewHandler getWrapped()
getWrapped
in interface FacesWrapper<ViewHandler>
getWrapped
in class ViewHandlerWrapper
Copyright © 2012–2016 OmniFaces. All rights reserved.