org.apache.myfaces.tomahawk.application.jsp
Class JspTilesTwoViewHandlerImpl

java.lang.Object
  extended by javax.faces.application.ViewHandler
      extended by org.apache.myfaces.tomahawk.application.jsp.JspTilesTwoViewHandlerImpl

public class JspTilesTwoViewHandlerImpl
extends javax.faces.application.ViewHandler

This ViewHandler should be used with myfaces core 1.2.4 or superior and it does not work with jsf ri 1.2

Since:
1.1.7
Version:
$Revision: 691871 $ $Date: 2008-09-03 23:32:08 -0500 (Wed, 03 Sep 2008) $
Author:
Martin Marinschek

Field Summary
static String FORM_STATE_MARKER
           
static int FORM_STATE_MARKER_LEN
           
 
Fields inherited from class javax.faces.application.ViewHandler
CHARACTER_ENCODING_KEY, DEFAULT_SUFFIX, DEFAULT_SUFFIX_PARAM_NAME
 
Constructor Summary
JspTilesTwoViewHandlerImpl(javax.faces.application.ViewHandler viewHandler)
           
 
Method Summary
 Locale calculateLocale(javax.faces.context.FacesContext context)
           
 String calculateRenderKitId(javax.faces.context.FacesContext context)
           
 javax.faces.component.UIViewRoot createView(javax.faces.context.FacesContext context, String viewId)
           
 String getActionURL(javax.faces.context.FacesContext context, String viewId)
           
 String getResourceURL(javax.faces.context.FacesContext context, String path)
           
 void renderView(javax.faces.context.FacesContext facesContext, javax.faces.component.UIViewRoot viewToRender)
           
 javax.faces.component.UIViewRoot restoreView(javax.faces.context.FacesContext context, String viewId)
           
 void writeState(javax.faces.context.FacesContext context)
           
 
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
 

Field Detail

FORM_STATE_MARKER

public static final String FORM_STATE_MARKER
See Also:
Constant Field Values

FORM_STATE_MARKER_LEN

public static final int FORM_STATE_MARKER_LEN
Constructor Detail

JspTilesTwoViewHandlerImpl

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

renderView

public void renderView(javax.faces.context.FacesContext facesContext,
                       javax.faces.component.UIViewRoot viewToRender)
                throws IOException,
                       javax.faces.FacesException
Specified by:
renderView in class javax.faces.application.ViewHandler
Throws:
IOException
javax.faces.FacesException

calculateLocale

public Locale calculateLocale(javax.faces.context.FacesContext context)
Specified by:
calculateLocale in class javax.faces.application.ViewHandler

calculateRenderKitId

public String calculateRenderKitId(javax.faces.context.FacesContext context)
Specified by:
calculateRenderKitId in class javax.faces.application.ViewHandler

createView

public javax.faces.component.UIViewRoot createView(javax.faces.context.FacesContext context,
                                                   String viewId)
Specified by:
createView in class javax.faces.application.ViewHandler

getActionURL

public String getActionURL(javax.faces.context.FacesContext context,
                           String viewId)
Specified by:
getActionURL in class javax.faces.application.ViewHandler

getResourceURL

public String getResourceURL(javax.faces.context.FacesContext context,
                             String path)
Specified by:
getResourceURL in class javax.faces.application.ViewHandler

restoreView

public javax.faces.component.UIViewRoot restoreView(javax.faces.context.FacesContext context,
                                                    String viewId)
Specified by:
restoreView in class javax.faces.application.ViewHandler

writeState

public void writeState(javax.faces.context.FacesContext context)
                throws IOException
Specified by:
writeState in class javax.faces.application.ViewHandler
Throws:
IOException


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