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.ViewHandlerWrapper
View handler for the designer that adds the designer conversation ID to all URLs. This is similar to
ConversationScoped
and ConversationAwareViewHandler
, but does not require a lock on the entire
request which may lead to BusyConversationException
errors.- 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
ConstructorsConstructorDescriptionDesignerContextAwareViewHandler
(javax.faces.application.ViewHandler wrapped) Invoked by the framework when a new view handler is required. -
Method Summary
Modifier and TypeMethodDescriptiongetActionURL
(javax.faces.context.FacesContext facesContext, String viewId) getBookmarkableURL
(javax.faces.context.FacesContext context, String viewId, Map<String, List<String>> parameters, boolean includeViewParams) getRedirectURL
(javax.faces.context.FacesContext context, String viewId, Map<String, List<String>> parameters, boolean includeViewParams) getResourceURL
(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
-
Constructor Details
-
DesignerContextAwareViewHandler
public DesignerContextAwareViewHandler(javax.faces.application.ViewHandler wrapped) Invoked by the framework when a new view handler is required.- Parameters:
wrapped
- View handler to which to delegate methods we do not wish to override.
-
-
Method Details
-
getActionURL
- Overrides:
getActionURL
in classjavax.faces.application.ViewHandlerWrapper
-
getBookmarkableURL
public String getBookmarkableURL(javax.faces.context.FacesContext context, String viewId, Map<String, List<String>> parameters, boolean includeViewParams) - Overrides:
getBookmarkableURL
in classjavax.faces.application.ViewHandlerWrapper
-
getRedirectURL
public String getRedirectURL(javax.faces.context.FacesContext context, String viewId, Map<String, List<String>> parameters, boolean includeViewParams) - Overrides:
getRedirectURL
in classjavax.faces.application.ViewHandlerWrapper
-
getResourceURL
- Overrides:
getResourceURL
in classjavax.faces.application.ViewHandlerWrapper
-