SourceForge.net Logo

de.mindmatters.faces.spring.context.servlet
Class FacesInternalResourceView

java.lang.Object
  extended byorg.springframework.context.support.ApplicationObjectSupport
      extended byorg.springframework.web.context.support.WebApplicationObjectSupport
          extended byorg.springframework.web.servlet.view.AbstractView
              extended byorg.springframework.web.servlet.view.AbstractUrlBasedView
                  extended byorg.springframework.web.servlet.view.InternalResourceView
                      extended byde.mindmatters.faces.spring.context.servlet.AbstractFacesView
                          extended byde.mindmatters.faces.spring.context.servlet.FacesInternalResourceView
All Implemented Interfaces:
ApplicationContextAware, BeanNameAware, InitializingBean, View

public class FacesInternalResourceView
extends AbstractFacesView

This view is used (and usually created) by the FacesLifecycleController and subclasses to render the view given the specified model.

More precisely this view is usually used to render the UIViewRoot created by the NavigationHandler.

Author:
Andreas Kuhrwahl
See Also:
#createModelAndView(FacesContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse), #handleRequestInternal(FacesContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)

Field Summary
 
Fields inherited from class org.springframework.web.servlet.view.AbstractView
DEFAULT_CONTENT_TYPE
 
Fields inherited from class org.springframework.context.support.ApplicationObjectSupport
logger
 
Constructor Summary
FacesInternalResourceView()
          Constructor for use as a bean.
FacesInternalResourceView(java.lang.String url)
          Creates a new FacesView with the given URL.
 
Method Summary
 void afterPropertiesSet()
          URL may be null (in cases of already created views).
protected  void render(FacesContext context)
          Renders the view if the response not already completed.
 
Methods inherited from class de.mindmatters.faces.spring.context.servlet.AbstractFacesView
createView, prepareForRendering, renderMergedOutputModel, useInclude
 
Methods inherited from class org.springframework.web.servlet.view.InternalResourceView
exposeHelpers, exposeModelAsRequestAttributes
 
Methods inherited from class org.springframework.web.servlet.view.AbstractUrlBasedView
getUrl, setUrl, toString
 
Methods inherited from class org.springframework.web.servlet.view.AbstractView
addStaticAttribute, createRequestContext, getAttributesMap, getBeanName, getContentType, getRequestContextAttribute, getStaticAttributes, render, setAttributes, setAttributesCSV, setAttributesMap, setBeanName, setContentType, setRequestContextAttribute
 
Methods inherited from class org.springframework.web.context.support.WebApplicationObjectSupport
getServletContext, getTempDir, getWebApplicationContext, isContextRequired
 
Methods inherited from class org.springframework.context.support.ApplicationObjectSupport
getApplicationContext, getMessageSourceAccessor, initApplicationContext, requiredContextClass, setApplicationContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FacesInternalResourceView

public FacesInternalResourceView()
Constructor for use as a bean.


FacesInternalResourceView

public FacesInternalResourceView(java.lang.String url)
Creates a new FacesView with the given URL.

Parameters:
url - the URL to forward to
Method Detail

afterPropertiesSet

public final void afterPropertiesSet()
URL may be null (in cases of already created views).


render

protected final void render(FacesContext context)
Renders the view if the response not already completed.

Specified by:
render in class AbstractFacesView
Parameters:
context - current FacesContext
See Also:
FacesContext.getResponseComplete()

SourceForge.net Logo

Copyright © 2002 mindmatters GmbH & Co. KG