org.apache.myfaces.view.jsp
Class JspViewDeclarationLanguage

java.lang.Object
  extended by javax.faces.view.ViewDeclarationLanguage
      extended by org.apache.myfaces.shared_impl.view.ViewDeclarationLanguageBase
          extended by org.apache.myfaces.shared_impl.view.JspViewDeclarationLanguageBase
              extended by org.apache.myfaces.view.jsp.JspViewDeclarationLanguage

public class JspViewDeclarationLanguage
extends JspViewDeclarationLanguageBase

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 $)

Field Summary
static java.util.logging.Logger log
           
 
Constructor Summary
JspViewDeclarationLanguage()
           
 
Method Summary
 void buildView(FacesContext context, UIViewRoot view)
          
protected  void sendSourceNotFound(FacesContext context, java.lang.String message)
          Send a source not found to the client.
 
Methods inherited from class org.apache.myfaces.shared_impl.view.JspViewDeclarationLanguageBase
calculateViewId, getComponentMetadata, getScriptComponentResource, getStateManagementStrategy, getViewMetadata, renderView, setAfterViewTagResponseWrapper
 
Methods inherited from class org.apache.myfaces.shared_impl.view.ViewDeclarationLanguageBase
checkNull, createView, restoreView
 
Methods inherited from class javax.faces.view.ViewDeclarationLanguage
retargetAttachedObjects, retargetMethodExpressions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

public static final java.util.logging.Logger log
Constructor Detail

JspViewDeclarationLanguage

public JspViewDeclarationLanguage()
Method Detail

buildView

public void buildView(FacesContext context,
                      UIViewRoot view)
               throws java.io.IOException

Specified by:
buildView in class ViewDeclarationLanguage
Throws:
java.io.IOException

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 FacesContext
message - the message associated with the error


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