org.apache.myfaces.extensions.cdi.jsf.impl.scope.conversation
Class WindowContextAwareViewHandler

java.lang.Object
  extended by javax.faces.application.ViewHandler
      extended by javax.faces.application.ViewHandlerWrapper
          extended by org.apache.myfaces.extensions.cdi.jsf.impl.scope.conversation.WindowContextAwareViewHandler
All Implemented Interfaces:
Deactivatable

public class WindowContextAwareViewHandler
extends javax.faces.application.ViewHandlerWrapper
implements Deactivatable

ATTENTION: add all new methods to CodiViewHandler


Field Summary
 
Fields inherited from class javax.faces.application.ViewHandler
CHARACTER_ENCODING_KEY, DEFAULT_SUFFIX, DEFAULT_SUFFIX_PARAM_NAME
 
Constructor Summary
WindowContextAwareViewHandler(javax.faces.application.ViewHandler wrapped)
          Constructor for wrapping the given ViewHandler
 
Method Summary
 String getActionURL(javax.faces.context.FacesContext context, String viewId)
          
 javax.faces.application.ViewHandler getWrapped()
          
 boolean isActivated()
          
 javax.faces.component.UIViewRoot restoreView(javax.faces.context.FacesContext facesContext, String viewId)
          
 
Methods inherited from class javax.faces.application.ViewHandlerWrapper
calculateCharacterEncoding, calculateLocale, calculateRenderKitId, createView, getResourceURL, initView, renderView, writeState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WindowContextAwareViewHandler

public WindowContextAwareViewHandler(javax.faces.application.ViewHandler wrapped)
Constructor for wrapping the given ViewHandler

Parameters:
wrapped - view-handler which should be wrapped
Method Detail

getWrapped

public javax.faces.application.ViewHandler getWrapped()

Specified by:
getWrapped in class javax.faces.application.ViewHandlerWrapper

getActionURL

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

Overrides:
getActionURL in class javax.faces.application.ViewHandlerWrapper

restoreView

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

Overrides:
restoreView in class javax.faces.application.ViewHandlerWrapper

isActivated

public boolean isActivated()

Specified by:
isActivated in interface Deactivatable


Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.