org.rhq.enterprise.gui.common.framework
Class FaceletRedirectionViewHandler

java.lang.Object
  extended by javax.faces.application.ViewHandler
      extended by com.sun.facelets.FaceletViewHandler
          extended by org.rhq.enterprise.gui.common.framework.FaceletRedirectionViewHandler

public class FaceletRedirectionViewHandler
extends com.sun.facelets.FaceletViewHandler

Author:
Joseph Marques

Nested Class Summary
 
Nested classes/interfaces inherited from class com.sun.facelets.FaceletViewHandler
com.sun.facelets.FaceletViewHandler.NullWriter
 
Field Summary
 
Fields inherited from class com.sun.facelets.FaceletViewHandler
DEFAULT_REFRESH_PERIOD, PARAM_BUFFER_SIZE, PARAM_BUILD_BEFORE_RESTORE, PARAM_DECORATORS, PARAM_DEVELOPMENT, PARAM_LIBRARIES, PARAM_REFRESH_PERIO, PARAM_REFRESH_PERIOD, PARAM_RESOURCE_RESOLVER, PARAM_SKIP_COMMENTS, PARAM_VIEW_MAPPINGS
 
Fields inherited from class javax.faces.application.ViewHandler
CHARACTER_ENCODING_KEY, DEFAULT_SUFFIX, DEFAULT_SUFFIX_PARAM_NAME
 
Constructor Summary
FaceletRedirectionViewHandler(javax.faces.application.ViewHandler handler)
           
 
Method Summary
 String getActionURL(javax.faces.context.FacesContext facesContext, String viewId)
           
protected  void handleRenderException(javax.faces.context.FacesContext context, Exception ex)
           
 void renderView(javax.faces.context.FacesContext context, javax.faces.component.UIViewRoot viewToRender)
           
 
Methods inherited from class com.sun.facelets.FaceletViewHandler
buildView, calculateLocale, calculateRenderKitId, createCompiler, createFaceletFactory, createResponseWriter, createView, getDefaultSuffix, getRenderedViewId, getResourceURL, getResponseContentType, getResponseEncoding, getWrapped, handleFaceletNotFound, initialize, initializeCompiler, restoreView, writeState
 
Methods inherited from class javax.faces.application.ViewHandler
calculateCharacterEncoding, initView
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FaceletRedirectionViewHandler

public FaceletRedirectionViewHandler(javax.faces.application.ViewHandler handler)
Method Detail

getActionURL

public String getActionURL(javax.faces.context.FacesContext facesContext,
                           String viewId)
Overrides:
getActionURL in class com.sun.facelets.FaceletViewHandler

renderView

public void renderView(javax.faces.context.FacesContext context,
                       javax.faces.component.UIViewRoot viewToRender)
                throws IOException,
                       javax.faces.FacesException
Overrides:
renderView in class com.sun.facelets.FaceletViewHandler
Throws:
IOException
javax.faces.FacesException

handleRenderException

protected void handleRenderException(javax.faces.context.FacesContext context,
                                     Exception ex)
                              throws IOException,
                                     javax.el.ELException,
                                     javax.faces.FacesException
Overrides:
handleRenderException in class com.sun.facelets.FaceletViewHandler
Throws:
IOException
javax.el.ELException
javax.faces.FacesException


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.