org.apache.myfaces.view.jsp
Class JspViewDeclarationLanguage
java.lang.Object
javax.faces.view.ViewDeclarationLanguage
org.apache.myfaces.shared_impl.view.ViewDeclarationLanguageBase
org.apache.myfaces.shared_impl.view.JspViewDeclarationLanguageBase
org.apache.myfaces.view.jsp.JspViewDeclarationLanguage
public class JspViewDeclarationLanguage
- extends JspViewDeclarationLanguageBase
- Since:
- 2.0
- Version:
- $Revision: 939021 $ $Date: 2010-04-28 12:38:25 -0500 (Wed, 28 Apr 2010) $
- Author:
- Simon Lessard (latest modification by $Author: jakobk $)
Methods inherited from class org.apache.myfaces.shared_impl.view.JspViewDeclarationLanguageBase |
calculateViewId, flushBufferToWriter, getComponentMetadata, getScriptComponentResource, getStateManagementStrategy, getViewMetadata, isViewBuilt, renderView, setAfterViewTagResponseWrapper, setViewBuilt, writePartialBuffer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
public static final Logger log
FACELETS_ONLY_F_TAGS
public static final String[] FACELETS_ONLY_F_TAGS
- Tags that are only available on facelets and not on JSP.
If a user uses one of these tags on a JSP, we will provide
a more informative error message than the standard one.
FACELETS_ONLY_H_TAGS
public static final String[] FACELETS_ONLY_H_TAGS
JspViewDeclarationLanguage
public JspViewDeclarationLanguage()
buildView
public void buildView(FacesContext context,
UIViewRoot view)
throws IOException
-
- Overrides:
buildView
in class JspViewDeclarationLanguageBase
- Throws:
IOException
sendSourceNotFound
protected void sendSourceNotFound(FacesContext context,
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
Copyright © 2010 The Apache Software Foundation. All Rights Reserved.