public class FlowViewHandler
extends javax.faces.application.ViewHandler
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.Jsf2FlowViewHandler
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 |
---|
FlowViewHandler(javax.faces.application.ViewHandler delegate) |
Modifier and Type | Method and Description |
---|---|
java.util.Locale |
calculateLocale(javax.faces.context.FacesContext context) |
java.lang.String |
calculateRenderKitId(javax.faces.context.FacesContext context) |
javax.faces.component.UIViewRoot |
createView(javax.faces.context.FacesContext context,
java.lang.String viewId) |
java.lang.String |
deriveViewId(javax.faces.context.FacesContext context,
java.lang.String rawViewId) |
java.lang.String |
getActionURL(javax.faces.context.FacesContext context,
java.lang.String viewId) |
protected javax.faces.application.ViewHandler |
getDelegate() |
java.lang.String |
getResourceURL(javax.faces.context.FacesContext context,
java.lang.String path) |
void |
renderView(javax.faces.context.FacesContext context,
javax.faces.component.UIViewRoot viewToRender) |
javax.faces.component.UIViewRoot |
restoreView(javax.faces.context.FacesContext context,
java.lang.String viewId) |
void |
writeState(javax.faces.context.FacesContext context) |
public FlowViewHandler(javax.faces.application.ViewHandler delegate)
protected javax.faces.application.ViewHandler getDelegate()
public java.lang.String getActionURL(javax.faces.context.FacesContext context, java.lang.String viewId)
getActionURL
in class javax.faces.application.ViewHandler
public java.util.Locale calculateLocale(javax.faces.context.FacesContext context)
calculateLocale
in class javax.faces.application.ViewHandler
public javax.faces.component.UIViewRoot createView(javax.faces.context.FacesContext context, java.lang.String viewId)
createView
in class javax.faces.application.ViewHandler
public javax.faces.component.UIViewRoot restoreView(javax.faces.context.FacesContext context, java.lang.String viewId)
restoreView
in class javax.faces.application.ViewHandler
public java.lang.String calculateRenderKitId(javax.faces.context.FacesContext context)
calculateRenderKitId
in class javax.faces.application.ViewHandler
public java.lang.String getResourceURL(javax.faces.context.FacesContext context, java.lang.String path)
getResourceURL
in class javax.faces.application.ViewHandler
public void renderView(javax.faces.context.FacesContext context, javax.faces.component.UIViewRoot viewToRender) throws java.io.IOException, javax.faces.FacesException
renderView
in class javax.faces.application.ViewHandler
java.io.IOException
javax.faces.FacesException
public void writeState(javax.faces.context.FacesContext context) throws java.io.IOException
writeState
in class javax.faces.application.ViewHandler
java.io.IOException
public java.lang.String deriveViewId(javax.faces.context.FacesContext context, java.lang.String rawViewId)
deriveViewId
in class javax.faces.application.ViewHandler