Package de.xima.fc.gui.viewhandler
Class DesignerContextAwareViewHandler
- java.lang.Object
-
- javax.faces.application.ViewHandler
-
- javax.faces.application.ViewHandlerWrapper
-
- de.xima.fc.gui.viewhandler.DesignerContextAwareViewHandler
-
- All Implemented Interfaces:
javax.faces.FacesWrapper<javax.faces.application.ViewHandler>
public class DesignerContextAwareViewHandler extends javax.faces.application.ViewHandlerWrapperView handler for the designer that adds the designer conversation ID to all URLs. This is similar toConversationScopedandConversationAwareViewHandler, but does not require a lock on the entire request which may lead toBusyConversationExceptionerrors.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
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
Constructors Constructor Description DesignerContextAwareViewHandler(javax.faces.application.ViewHandler wrapped)Invoked by the framework when a new view handler is required.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetActionURL(javax.faces.context.FacesContext facesContext, String viewId)StringgetBookmarkableURL(javax.faces.context.FacesContext context, String viewId, Map<String,List<String>> parameters, boolean includeViewParams)StringgetRedirectURL(javax.faces.context.FacesContext context, String viewId, Map<String,List<String>> parameters, boolean includeViewParams)StringgetResourceURL(javax.faces.context.FacesContext context, String path)-
Methods inherited from class javax.faces.application.ViewHandlerWrapper
addProtectedView, calculateCharacterEncoding, calculateLocale, calculateRenderKitId, createView, deriveLogicalViewId, deriveViewId, getProtectedViewsUnmodifiable, getViewDeclarationLanguage, getViews, getViews, getWebsocketURL, getWrapped, initView, removeProtectedView, renderView, restoreView, writeState
-
-
-
-
Method Detail
-
getActionURL
public String getActionURL(javax.faces.context.FacesContext facesContext, String viewId)
- Overrides:
getActionURLin classjavax.faces.application.ViewHandlerWrapper
-
getBookmarkableURL
public String getBookmarkableURL(javax.faces.context.FacesContext context, String viewId, Map<String,List<String>> parameters, boolean includeViewParams)
- Overrides:
getBookmarkableURLin classjavax.faces.application.ViewHandlerWrapper
-
getRedirectURL
public String getRedirectURL(javax.faces.context.FacesContext context, String viewId, Map<String,List<String>> parameters, boolean includeViewParams)
- Overrides:
getRedirectURLin classjavax.faces.application.ViewHandlerWrapper
-
-