|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springbyexample.web.servlet.view.tiles2.DynamicTilesViewProcessor
public class DynamicTilesViewProcessor
Used for rendering and processing a dynamic tiles view.
Constructor Summary | |
---|---|
DynamicTilesViewProcessor()
|
Method Summary | |
---|---|
protected void |
endDynamicDefinition(String definitionName,
String beanName,
HttpServletRequest request,
HttpServletResponse response,
org.apache.tiles.TilesContainer container)
Closes the temporary Tiles definition. |
protected String |
processTilesDefinitionName(String beanName,
org.apache.tiles.TilesContainer container,
HttpServletRequest request,
HttpServletResponse response)
Processes values to get tiles template definition name. |
protected void |
renderMergedOutputModel(String beanName,
String url,
ServletContext servletContext,
HttpServletRequest request,
HttpServletResponse response,
org.apache.tiles.TilesContainer container)
Renders output using Tiles. |
void |
setTilesBodyAttributeName(String tilesBodyAttributeName)
Tiles body attribute name. |
void |
setTilesDefinitionDelimiter(String tilesDefinitionDelimiter)
Sets Tiles definition delimiter. |
void |
setTilesDefinitionName(String tilesDefinitionName)
Main template name. |
protected String |
startDynamicDefinition(String beanName,
String url,
HttpServletRequest request,
HttpServletResponse response,
org.apache.tiles.TilesContainer container)
Starts processing the dynamic Tiles definition by creating a temporary definition for rendering. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DynamicTilesViewProcessor()
Method Detail |
---|
public void setTilesDefinitionName(String tilesDefinitionName)
tilesDefinitionName
- Main template name used to lookup definitions.public void setTilesBodyAttributeName(String tilesBodyAttributeName)
tilesBodyAttributeName
- Tiles body attribute name.public void setTilesDefinitionDelimiter(String tilesDefinitionDelimiter)
tilesDefinitionDelimiter
- Optional delimiter to replace '/' in a url.protected void renderMergedOutputModel(String beanName, String url, ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, org.apache.tiles.TilesContainer container) throws Exception
Exception
protected String startDynamicDefinition(String beanName, String url, HttpServletRequest request, HttpServletResponse response, org.apache.tiles.TilesContainer container) throws org.apache.tiles.TilesException
org.apache.tiles.TilesException
protected void endDynamicDefinition(String definitionName, String beanName, HttpServletRequest request, HttpServletResponse response, org.apache.tiles.TilesContainer container)
protected String processTilesDefinitionName(String beanName, org.apache.tiles.TilesContainer container, HttpServletRequest request, HttpServletResponse response) throws org.apache.tiles.TilesException
org.apache.tiles.TilesException
- If no valid Tiles definition is found.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |