Overview | Package | Class | Tree | Deprecated | Index | Help
| Spring Web Flow
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.springframework.faces.webflow
Class FlowViewHandler

    java.lang.Object
      javax.faces.application.ViewHandler
          org.springframework.faces.webflow.FlowViewHandler

Direct Known Subclasses:
  Jsf2FlowViewHandler

    public class FlowViewHandler

extends javax.faces.application.ViewHandler

Simple delegating `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
See Also:
  `Jsf2FlowViewHandler`

Field Summary

Fields 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
`FlowViewHandler(javax.faces.application.ViewHandler delegate)`

Method Summary
`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)`

Methods inherited from class javax.faces.application.ViewHandler
`addProtectedView, calculateCharacterEncoding, deriveLogicalViewId, getBookmarkableURL, getProtectedViewsUnmodifiable, getRedirectURL, getViewDeclarationLanguage, initView, removeProtectedView`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### FlowViewHandler

    public FlowViewHandler(javax.faces.application.ViewHandler delegate)

Method Detail

### getDelegate

    protected javax.faces.application.ViewHandler getDelegate()

### getActionURL

    public java.lang.String getActionURL(javax.faces.context.FacesContext context,
                                         java.lang.String viewId)

  Specified by:
    `getActionURL` in class `javax.faces.application.ViewHandler`

### calculateLocale

    public java.util.Locale calculateLocale(javax.faces.context.FacesContext context)

  Specified by:
    `calculateLocale` in class `javax.faces.application.ViewHandler`

### createView

    public javax.faces.component.UIViewRoot createView(javax.faces.context.FacesContext context,
                                                       java.lang.String viewId)

  Specified by:
    `createView` in class `javax.faces.application.ViewHandler`

### restoreView

    public javax.faces.component.UIViewRoot restoreView(javax.faces.context.FacesContext context,
                                                        java.lang.String viewId)

  Specified by:
    `restoreView` in class `javax.faces.application.ViewHandler`

### calculateRenderKitId

    public java.lang.String calculateRenderKitId(javax.faces.context.FacesContext context)

  Specified by:
    `calculateRenderKitId` in class `javax.faces.application.ViewHandler`

### getResourceURL

    public java.lang.String getResourceURL(javax.faces.context.FacesContext context,
                                           java.lang.String path)

  Specified by:
    `getResourceURL` in class `javax.faces.application.ViewHandler`

### renderView

    public void renderView(javax.faces.context.FacesContext context,
                           javax.faces.component.UIViewRoot viewToRender)
                    throws java.io.IOException,
                           javax.faces.FacesException

  Specified by:
    `renderView` in class `javax.faces.application.ViewHandler`
  Throws:
    `java.io.IOException`
    `javax.faces.FacesException`

### writeState

    public void writeState(javax.faces.context.FacesContext context)
                    throws java.io.IOException

  Specified by:
    `writeState` in class `javax.faces.application.ViewHandler`
  Throws:
    `java.io.IOException`

### deriveViewId

    public java.lang.String deriveViewId(javax.faces.context.FacesContext context,
                                         java.lang.String rawViewId)

  Overrides:
    `deriveViewId` in class `javax.faces.application.ViewHandler`

Overview | Package | Class | Tree | Deprecated | Index | Help
| Spring Web Flow
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD