org.apache.myfaces.view.jsp
Class JspViewDeclarationLanguage
java.lang.Object
javax.faces.view.ViewDeclarationLanguage
org.apache.myfaces.view.ViewDeclarationLanguageBase
org.apache.myfaces.view.jsp.JspViewDeclarationLanguage
public class JspViewDeclarationLanguage
- extends ViewDeclarationLanguageBase
- Since:
- 2.0
- Version:
- $Revision: 696523 $ $Date: 2009-03-22 13:55:12 -0400 (mer., 17 sept. 2008) $
- Author:
- Simon Lessard (latest modification by $Author: slessard $)
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
JspViewDeclarationLanguage
public JspViewDeclarationLanguage()
buildView
public void buildView(FacesContext context,
UIViewRoot view)
throws java.io.IOException
-
- Specified by:
buildView
in class ViewDeclarationLanguage
- Throws:
java.io.IOException
getComponentMetadata
public java.beans.BeanInfo getComponentMetadata(FacesContext context,
Resource componentResource)
-
- Specified by:
getComponentMetadata
in class ViewDeclarationLanguage
getScriptComponentResource
public Resource getScriptComponentResource(FacesContext context,
Resource componentResource)
-
- Specified by:
getScriptComponentResource
in class ViewDeclarationLanguage
getViewMetadata
public ViewMetadata getViewMetadata(FacesContext context,
java.lang.String viewId)
-
- Specified by:
getViewMetadata
in class ViewDeclarationLanguage
renderView
public void renderView(FacesContext context,
UIViewRoot view)
throws java.io.IOException
-
- Specified by:
renderView
in class ViewDeclarationLanguage
- Throws:
java.io.IOException
calculateViewId
protected java.lang.String calculateViewId(FacesContext context,
java.lang.String viewId)
- Description copied from class:
ViewDeclarationLanguageBase
- Calculates the effective view identifier for the specified raw view identifier.
- Specified by:
calculateViewId
in class ViewDeclarationLanguageBase
- Parameters:
context
- le current FacesContextviewId
- the raw view identifier
- Returns:
- the effective view identifier
sendSourceNotFound
protected void sendSourceNotFound(FacesContext context,
java.lang.String message)
- Description copied from class:
ViewDeclarationLanguageBase
- Send a source not found to the client. Although it can be considered ok in JSP mode,
I think it's pretty lame to have this kind of requirement at VDL level considering VDL
represents the page --> JSF tree link, not the transport layer required to send a
SC_NOT_FOUND.
- Specified by:
sendSourceNotFound
in class ViewDeclarationLanguageBase
- Parameters:
context
- le current FacesContextmessage
- the message associated with the error
getStateManagementStrategy
public StateManagementStrategy getStateManagementStrategy(FacesContext context,
java.lang.String viewId)
- Specified by:
getStateManagementStrategy
in class ViewDeclarationLanguage
Copyright © 2009 The Apache Software Foundation. All Rights Reserved.