org.springframework.js.ajax.tiles2
Class AjaxTilesView

java.lang.Object
  extended by org.springframework.context.support.ApplicationObjectSupport
      extended by org.springframework.web.context.support.WebApplicationObjectSupport
          extended by org.springframework.web.servlet.view.AbstractView
              extended by org.springframework.web.servlet.view.AbstractUrlBasedView
                  extended by org.springframework.web.servlet.view.tiles2.TilesView
                      extended by org.springframework.js.ajax.tiles2.AjaxTilesView
All Implemented Interfaces:
org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.springframework.web.context.ServletContextAware, org.springframework.web.servlet.View
Direct Known Subclasses:
FlowAjaxTilesView

public class AjaxTilesView
extends org.springframework.web.servlet.view.tiles2.TilesView

Tiles view implementation that is able to handle partial rendering for Spring Javascript Ajax requests.

This implementation uses the SpringJavascriptAjaxHandler by default to determine whether the current request is an Ajax request. On an Ajax request, a "fragments" parameter will be extracted from the request in order to determine which attributes to render from the current tiles view.

Author:
Jeremy Grelle, David Winterfeldt

Field Summary
 
Fields inherited from class org.springframework.web.servlet.view.AbstractView
DEFAULT_CONTENT_TYPE
 
Fields inherited from interface org.springframework.web.servlet.View
RESPONSE_STATUS_ATTRIBUTE
 
Constructor Summary
AjaxTilesView()
           
 
Method Summary
 AjaxHandler getAjaxHandler()
           
 void setAjaxHandler(AjaxHandler ajaxHandler)
           
 
Methods inherited from class org.springframework.web.servlet.view.tiles2.TilesView
checkResource
 
Methods inherited from class org.springframework.web.servlet.view.AbstractUrlBasedView
afterPropertiesSet, getUrl, setUrl, toString
 
Methods inherited from class org.springframework.web.servlet.view.AbstractView
addStaticAttribute, getAttributesMap, getBeanName, getContentType, getRequestContextAttribute, getStaticAttributes, render, setAttributes, setAttributesCSV, setAttributesMap, setBeanName, setContentType, setRequestContextAttribute
 
Methods inherited from class org.springframework.web.context.support.WebApplicationObjectSupport
setServletContext
 
Methods inherited from class org.springframework.context.support.ApplicationObjectSupport
getApplicationContext, setApplicationContext
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AjaxTilesView

public AjaxTilesView()
Method Detail

getAjaxHandler

public AjaxHandler getAjaxHandler()

setAjaxHandler

public void setAjaxHandler(AjaxHandler ajaxHandler)