org.springbyexample.web.servlet.view.tiles2
Class FlowAjaxDynamicTilesView
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
org.springbyexample.web.servlet.view.tiles2.AjaxDynamicTilesView
org.springbyexample.web.servlet.view.tiles2.FlowAjaxDynamicTilesView
- All Implemented Interfaces:
- BeanNameAware, InitializingBean, ApplicationContextAware, ServletContextAware, View
public class FlowAjaxDynamicTilesView
- extends AjaxDynamicTilesView
If the request isn't an AJAX request, DynamicTilesView
will handle the request. Otherwise it is expected that an AJAX
view render will be next in the chain and can handle the request.
Note: All code is copied from AjaxDynamicTilesView
(giving author credit to original author).
Necessary to duplicate logic since getRenderFragments
is protected, so no way to delegate to
the original code.
- Author:
- Jeremy Grelle
Methods inherited from class org.springframework.js.ajax.tiles2.AjaxTilesView |
getAjaxHandler, setAjaxHandler |
Methods inherited from class org.springframework.web.servlet.view.AbstractView |
addStaticAttribute, createRequestContext, createTemporaryOutputStream, exposeModelAsRequestAttributes, generatesDownloadContent, getAttributesMap, getBeanName, getContentType, getRequestContextAttribute, getStaticAttributes, prepareResponse, render, setAttributes, setAttributesCSV, setAttributesMap, setBeanName, setContentType, setRequestContextAttribute, writeToResponse |
FlowAjaxDynamicTilesView
public FlowAjaxDynamicTilesView()
getRenderFragments
protected String[] getRenderFragments(Map model,
HttpServletRequest request,
HttpServletResponse response)
Gets rendered fragments.
Note: Copied from FlowAjaxTilesView
.
- Overrides:
getRenderFragments
in class org.springframework.js.ajax.tiles2.AjaxTilesView
Copyright © 2008 Spring by Example. All Rights Reserved.