org.apache.myfaces.application.jsp
Class JspTilesViewHandlerImpl

java.lang.Object
  extended byjavax.faces.application.ViewHandler
      extended byorg.apache.myfaces.application.jsp.JspTilesViewHandlerImpl

public class JspTilesViewHandlerImpl
extends javax.faces.application.ViewHandler

Version:
$Revision: 1.12 $ $Date: 2004/12/22 08:12:36 $ $Log: JspTilesViewHandlerImpl.java,v $ Revision 1.12 2004/12/22 08:12:36 manolito Use lastIndexOf instead of indexOf as suggested by sean.schofield@gmail.com on mailing list Revision 1.11 2004/12/19 11:42:36 tomsp removed Nullpointer from renderView when no tiles-definition is found Revision 1.10 2004/11/11 17:43:07 tomsp no message Revision 1.9 2004/11/11 14:50:38 bdudney made getInitParameter use the defined constant instead of the string Revision 1.8 2004/11/08 09:09:42 tomsp no message Revision 1.7 2004/11/08 08:46:45 tomsp no message Revision 1.6 2004/10/13 11:50:56 matze renamed packages to org.apache Revision 1.5 2004/10/04 11:11:46 royalts removed check on urlPattern Revision 1.4 2004/08/26 15:34:06 manolito trivial cosmetic changes Revision 1.3 2004/08/26 14:25:21 manolito JspTilesViewHandlerInitializer no longer needed, JspTilesViewHandlerImpl is initialized automatically now Revision 1.2 2004/07/19 08:18:19 royalts moved org.apache.myfaces.webapp.webxml and org.apache.util.xml to share src-tree (needed WebXml for JspTilesViewHandlerImpl) Revision 1.1 2004/07/16 17:46:46 royalts moved org.apache.myfaces.webapp.webxml and org.apache.util.xml to share src-tree (needed WebXml for JspTilesViewHandlerImpl)
Author:
Thomas Spiegl (latest modification by $Author: manolito $)

Field Summary
 
Fields inherited from class javax.faces.application.ViewHandler
CHARACTER_ENCODING_KEY, DEFAULT_SUFFIX, DEFAULT_SUFFIX_PARAM_NAME
 
Constructor Summary
JspTilesViewHandlerImpl(javax.faces.application.ViewHandler viewHandler)
           
 
Method Summary
 java.util.Locale calculateLocale(javax.faces.context.FacesContext context)
           
 java.lang.String calculateRenderKitId(javax.faces.context.FacesContext context)
           
 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)
           
 java.lang.String getResourceURL(javax.faces.context.FacesContext context, java.lang.String path)
           
 void renderView(javax.faces.context.FacesContext facesContext, javax.faces.component.UIViewRoot viewToRender)
           
 javax.faces.component.UIViewRoot restoreView(javax.faces.context.FacesContext context, java.lang.String viewId)
           
 void writeState(javax.faces.context.FacesContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JspTilesViewHandlerImpl

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

renderView

public void renderView(javax.faces.context.FacesContext facesContext,
                       javax.faces.component.UIViewRoot viewToRender)
                throws java.io.IOException,
                       javax.faces.FacesException
Throws:
java.io.IOException
javax.faces.FacesException

calculateLocale

public java.util.Locale calculateLocale(javax.faces.context.FacesContext context)

calculateRenderKitId

public java.lang.String calculateRenderKitId(javax.faces.context.FacesContext context)

createView

public javax.faces.component.UIViewRoot createView(javax.faces.context.FacesContext context,
                                                   java.lang.String viewId)

getActionURL

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

getResourceURL

public java.lang.String getResourceURL(javax.faces.context.FacesContext context,
                                       java.lang.String path)

restoreView

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

writeState

public void writeState(javax.faces.context.FacesContext context)
                throws java.io.IOException
Throws:
java.io.IOException