Class 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

      Constructors 
      Constructor Description
      DesignerContextAwareViewHandler​(javax.faces.application.ViewHandler wrapped)
      Invoked by the framework when a new view handler is required.
    • Constructor Detail

      • 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 Detail

      • getActionURL

        public String getActionURL​(javax.faces.context.FacesContext facesContext,
                                   String viewId)
        Overrides:
        getActionURL in class javax.faces.application.ViewHandlerWrapper
      • getBookmarkableURL

        public String getBookmarkableURL​(javax.faces.context.FacesContext context,
                                         String viewId,
                                         Map<String,​List<String>> parameters,
                                         boolean includeViewParams)
        Overrides:
        getBookmarkableURL in class javax.faces.application.ViewHandlerWrapper
      • getRedirectURL

        public String getRedirectURL​(javax.faces.context.FacesContext context,
                                     String viewId,
                                     Map<String,​List<String>> parameters,
                                     boolean includeViewParams)
        Overrides:
        getRedirectURL in class javax.faces.application.ViewHandlerWrapper
      • getResourceURL

        public String getResourceURL​(javax.faces.context.FacesContext context,
                                     String path)
        Overrides:
        getResourceURL in class javax.faces.application.ViewHandlerWrapper