org.apache.myfaces.portlet
Class PortletViewHandler

java.lang.Object
  extended by javax.faces.application.ViewHandler
      extended by javax.faces.application.ViewHandlerWrapper
          extended by org.apache.myfaces.portlet.PortletViewHandler

public class PortletViewHandler
extends javax.faces.application.ViewHandlerWrapper

TODO: test this portlet view handler in portlet environment

Version:
$Revision: 517404 $ $Date: 2007-03-12 16:17:24 -0500 (Mon, 12 Mar 2007) $
Author:
Mathias Broekelmann (latest modification by $Author: mbr $)

Field Summary
 
Fields inherited from class javax.faces.application.ViewHandler
CHARACTER_ENCODING_KEY, DEFAULT_SUFFIX, DEFAULT_SUFFIX_PARAM_NAME
 
Constructor Summary
PortletViewHandler(javax.faces.application.ViewHandler viewHandler)
           
 
Method Summary
 javax.faces.component.UIViewRoot createView(javax.faces.context.FacesContext context, java.lang.String viewId)
           
 java.lang.String getActionURL(javax.faces.context.FacesContext context, java.lang.String viewId)
           
protected  javax.faces.application.ViewHandler getWrapped()
           
 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)
           
 
Methods inherited from class javax.faces.application.ViewHandlerWrapper
calculateCharacterEncoding, calculateLocale, calculateRenderKitId, getResourceURL, initView, writeState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletViewHandler

public PortletViewHandler(javax.faces.application.ViewHandler viewHandler)
Method Detail

getWrapped

protected javax.faces.application.ViewHandler getWrapped()
Specified by:
getWrapped in class javax.faces.application.ViewHandlerWrapper

restoreView

public javax.faces.component.UIViewRoot restoreView(javax.faces.context.FacesContext context,
                                                    java.lang.String viewId)
Overrides:
restoreView in class javax.faces.application.ViewHandlerWrapper

createView

public javax.faces.component.UIViewRoot createView(javax.faces.context.FacesContext context,
                                                   java.lang.String viewId)
Overrides:
createView in class javax.faces.application.ViewHandlerWrapper

getActionURL

public java.lang.String getActionURL(javax.faces.context.FacesContext context,
                                     java.lang.String viewId)
Overrides:
getActionURL in class javax.faces.application.ViewHandlerWrapper

renderView

public void renderView(javax.faces.context.FacesContext context,
                       javax.faces.component.UIViewRoot viewToRender)
                throws java.io.IOException,
                       javax.faces.FacesException
Overrides:
renderView in class javax.faces.application.ViewHandlerWrapper
Throws:
java.io.IOException
javax.faces.FacesException


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