Class FlowViewHandler
java.lang.Object
jakarta.faces.application.ViewHandler
jakarta.faces.application.ViewHandlerWrapper
org.springframework.faces.webflow.FlowViewHandler
- All Implemented Interfaces:
jakarta.faces.FacesWrapper<jakarta.faces.application.ViewHandler>
public class FlowViewHandler
extends jakarta.faces.application.ViewHandlerWrapper
Simple
ViewHandler
implementation that provides JSF Form's with the correct FlowExecution URL, including the
current FlowExecutionKey, so that postbacks may be properly intercepted and handled by Web Flow.- Author:
- Jeremy Grelle, Rossen Stoyanchev, Phillip Webb
-
Field Summary
Fields inherited from class jakarta.faces.application.ViewHandler
CHARACTER_ENCODING_KEY, DEFAULT_FACELETS_SUFFIX, DEFAULT_SUFFIX, DEFAULT_SUFFIX_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
-
Method Summary
Modifier and TypeMethodDescriptioncalculateLocale
(jakarta.faces.context.FacesContext context) jakarta.faces.component.UIViewRoot
createView
(jakarta.faces.context.FacesContext context, String viewId) deriveViewId
(jakarta.faces.context.FacesContext context, String rawViewId) getActionURL
(jakarta.faces.context.FacesContext context, String viewId) jakarta.faces.application.ViewHandler
jakarta.faces.component.UIViewRoot
restoreView
(jakarta.faces.context.FacesContext context, String viewId) Methods inherited from class jakarta.faces.application.ViewHandlerWrapper
addProtectedView, calculateCharacterEncoding, calculateRenderKitId, deriveLogicalViewId, getBookmarkableURL, getProtectedViewsUnmodifiable, getRedirectURL, getResourceURL, getViewDeclarationLanguage, getViews, getViews, getWebsocketURL, initView, removeProtectedView, renderView, writeState
-
Constructor Details
-
FlowViewHandler
public FlowViewHandler(jakarta.faces.application.ViewHandler wrapped)
-
-
Method Details
-
getWrapped
public jakarta.faces.application.ViewHandler getWrapped()- Specified by:
getWrapped
in interfacejakarta.faces.FacesWrapper<jakarta.faces.application.ViewHandler>
- Overrides:
getWrapped
in classjakarta.faces.application.ViewHandlerWrapper
-
getActionURL
- Overrides:
getActionURL
in classjakarta.faces.application.ViewHandlerWrapper
-
calculateLocale
- Overrides:
calculateLocale
in classjakarta.faces.application.ViewHandlerWrapper
-
createView
public jakarta.faces.component.UIViewRoot createView(jakarta.faces.context.FacesContext context, String viewId) - Overrides:
createView
in classjakarta.faces.application.ViewHandlerWrapper
-
restoreView
public jakarta.faces.component.UIViewRoot restoreView(jakarta.faces.context.FacesContext context, String viewId) - Overrides:
restoreView
in classjakarta.faces.application.ViewHandlerWrapper
-
deriveViewId
- Overrides:
deriveViewId
in classjakarta.faces.application.ViewHandlerWrapper
-