org.apache.myfaces.application.jsp
Class JspViewHandlerImpl
java.lang.Object
|
+--javax.faces.application.ViewHandler
|
+--org.apache.myfaces.application.jsp.JspViewHandlerImpl
- public class JspViewHandlerImpl
- extends javax.faces.application.ViewHandler
- Version:
- $Revision: 1.35 $ $Date: 2005/03/10 15:44:59 $
$Log: JspViewHandlerImpl.java,v $
Revision 1.35 2005/03/10 15:44:59 matzew
Patch for supporting Strut-Faces form Mike Traum (MYFACES-121)
Revision 1.34 2005/02/10 20:31:21 matzew
organized import statements
Revision 1.33 2005/02/10 20:24:17 matzew
closed MYFACES-101 in Jira; Thanks to Stan Silvert (JBoss Group)
Revision 1.32 2005/01/27 02:38:44 svieujot
Remove portlet-api dependency while keeping portlet support.
Revision 1.31 2005/01/26 17:03:12 matzew
MYFACES-86. portlet support provided by Stan Silver (JBoss Group)
Revision 1.30 2004/10/13 11:50:59 matze
renamed packages to org.apache
Revision 1.29 2004/10/05 08:22:55 manolito
#1031187 [PATCH] JspViewHandlerImpl: Remove dep on ServletRequest
Revision 1.28 2004/09/02 09:04:14 manolito
typing errors in comments
Revision 1.27 2004/09/01 18:32:55 mwessendorf
Organize Imports
Revision 1.26 2004/08/11 23:09:35 o_rossmueller
handle character encoding as described in section 2.5.2.2 of JSF 1.1
Revision 1.25 2004/08/11 22:56:30 o_rossmueller
handle character encoding as described in section 2.5.2.2 of JSF 1.1
Revision 1.24 2004/07/16 08:34:01 manolito
cosmetic change
Revision 1.23 2004/07/10 06:35:08 mwessendorf
is defaultRenderKitId set in faces-config.xml ?
Revision 1.22 2004/07/01 22:05:20 mwessendorf
ASF switch
Revision 1.21 2004/05/18 12:02:14 manolito
getActionURL and getResourceURL must not call encodeActionURL or encodeResourceURL
Revision 1.20 2004/05/12 01:41:31 o_rossmueller
fix #951896: added state params to link URLs for ALLOW_JAVASCRIPT=false
Revision 1.19 2004/04/27 07:37:56 manolito
bugfix: handleCharacterEncoding must be called before any request parameters are retrieved
Revision 1.18 2004/04/05 09:16:24 manolito
javadoc header
- Author:
- Thomas Spiegl (latest modification by $Author: matzew $)
Fields inherited from class javax.faces.application.ViewHandler |
CHARACTER_ENCODING_KEY, DEFAULT_SUFFIX, DEFAULT_SUFFIX_PARAM_NAME |
Method Summary |
java.util.Locale |
calculateLocale(javax.faces.context.FacesContext facesContext)
|
java.lang.String |
calculateRenderKitId(javax.faces.context.FacesContext facesContext)
|
javax.faces.component.UIViewRoot |
createView(javax.faces.context.FacesContext facesContext,
java.lang.String viewId)
|
java.lang.String |
getActionURL(javax.faces.context.FacesContext facesContext,
java.lang.String viewId)
|
java.lang.String |
getResourceURL(javax.faces.context.FacesContext facesContext,
java.lang.String path)
|
protected java.lang.String |
getViewIdPath(javax.faces.context.FacesContext facescontext,
java.lang.String viewId)
|
void |
renderView(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIViewRoot viewToRender)
|
javax.faces.component.UIViewRoot |
restoreView(javax.faces.context.FacesContext facesContext,
java.lang.String viewId)
|
void |
writeState(javax.faces.context.FacesContext facesContext)
Writes a state marker that is replaced later by one or more hidden form
inputs. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FORM_STATE_MARKER
public static final java.lang.String FORM_STATE_MARKER
- See Also:
- Constant Field Values
FORM_STATE_MARKER_LEN
public static final int FORM_STATE_MARKER_LEN
JspViewHandlerImpl
public JspViewHandlerImpl()
calculateLocale
public java.util.Locale calculateLocale(javax.faces.context.FacesContext facesContext)
- Specified by:
calculateLocale
in class javax.faces.application.ViewHandler
calculateRenderKitId
public java.lang.String calculateRenderKitId(javax.faces.context.FacesContext facesContext)
- Specified by:
calculateRenderKitId
in class javax.faces.application.ViewHandler
createView
public javax.faces.component.UIViewRoot createView(javax.faces.context.FacesContext facesContext,
java.lang.String viewId)
- Specified by:
createView
in class javax.faces.application.ViewHandler
getActionURL
public java.lang.String getActionURL(javax.faces.context.FacesContext facesContext,
java.lang.String viewId)
- Specified by:
getActionURL
in class javax.faces.application.ViewHandler
getResourceURL
public java.lang.String getResourceURL(javax.faces.context.FacesContext facesContext,
java.lang.String path)
- Specified by:
getResourceURL
in class javax.faces.application.ViewHandler
renderView
public void renderView(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIViewRoot viewToRender)
throws java.io.IOException,
javax.faces.FacesException
- Specified by:
renderView
in class javax.faces.application.ViewHandler
java.io.IOException
javax.faces.FacesException
restoreView
public javax.faces.component.UIViewRoot restoreView(javax.faces.context.FacesContext facesContext,
java.lang.String viewId)
- Specified by:
restoreView
in class javax.faces.application.ViewHandler
writeState
public void writeState(javax.faces.context.FacesContext facesContext)
throws java.io.IOException
- Writes a state marker that is replaced later by one or more hidden form
inputs.
- Specified by:
writeState
in class javax.faces.application.ViewHandler
- Parameters:
facesContext
-
- Throws:
java.io.IOException
getViewIdPath
protected java.lang.String getViewIdPath(javax.faces.context.FacesContext facescontext,
java.lang.String viewId)