org.springframework.js.ajax.tiles2
Class AjaxTilesView
java.lang.Object
org.springframework.context.support.ApplicationObjectSupport
org.springframework.web.context.support.WebApplicationObjectSupport
org.springframework.web.servlet.view.AbstractView
org.springframework.web.servlet.view.AbstractUrlBasedView
org.springframework.web.servlet.view.tiles2.TilesView
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
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 |
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 |
AjaxTilesView
public AjaxTilesView()
getAjaxHandler
public AjaxHandler getAjaxHandler()
setAjaxHandler
public void setAjaxHandler(AjaxHandler ajaxHandler)