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 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(ViewHandler viewHandler)
           
 
Method Summary
 UIViewRoot createView(FacesContext context, String viewId)
           
 String getActionURL(FacesContext context, String viewId)
           
protected  ViewHandler getWrapped()
           
 void renderView(FacesContext context, UIViewRoot viewToRender)
           
 UIViewRoot restoreView(FacesContext context, 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(ViewHandler viewHandler)
Method Detail

getWrapped

protected ViewHandler getWrapped()
Specified by:
getWrapped in class ViewHandlerWrapper

restoreView

public UIViewRoot restoreView(FacesContext context,
                              String viewId)
Overrides:
restoreView in class ViewHandlerWrapper

createView

public UIViewRoot createView(FacesContext context,
                             String viewId)
Overrides:
createView in class ViewHandlerWrapper

getActionURL

public String getActionURL(FacesContext context,
                           String viewId)
Overrides:
getActionURL in class ViewHandlerWrapper

renderView

public void renderView(FacesContext context,
                       UIViewRoot viewToRender)
                throws IOException,
                       FacesException
Overrides:
renderView in class ViewHandlerWrapper
Throws:
IOException
FacesException


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