org.apache.tiles.renderer.DefinitionRenderer Java Examples
The following examples show how to use
org.apache.tiles.renderer.DefinitionRenderer.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: TilesView.java From spring-analysis-note with MIT License | 5 votes |
@Override public void afterPropertiesSet() throws Exception { super.afterPropertiesSet(); ServletContext servletContext = getServletContext(); Assert.state(servletContext != null, "No ServletContext"); this.applicationContext = ServletUtil.getApplicationContext(servletContext); if (this.renderer == null) { TilesContainer container = TilesAccess.getContainer(this.applicationContext); this.renderer = new DefinitionRenderer(container); } }
Example #2
Source File: TilesView.java From java-technology-stack with MIT License | 5 votes |
@Override public void afterPropertiesSet() throws Exception { super.afterPropertiesSet(); ServletContext servletContext = getServletContext(); Assert.state(servletContext != null, "No ServletContext"); this.applicationContext = ServletUtil.getApplicationContext(servletContext); if (this.renderer == null) { TilesContainer container = TilesAccess.getContainer(this.applicationContext); this.renderer = new DefinitionRenderer(container); } }
Example #3
Source File: TilesView.java From lams with GNU General Public License v2.0 | 5 votes |
@Override public void afterPropertiesSet() throws Exception { super.afterPropertiesSet(); this.applicationContext = ServletUtil.getApplicationContext(getServletContext()); if (this.renderer == null) { TilesContainer container = TilesAccess.getContainer(this.applicationContext); this.renderer = new DefinitionRenderer(container); } }
Example #4
Source File: TilesView.java From spring4-understanding with Apache License 2.0 | 5 votes |
@Override public void afterPropertiesSet() throws Exception { super.afterPropertiesSet(); this.applicationContext = ServletUtil.getApplicationContext(getServletContext()); if (this.renderer == null) { TilesContainer container = TilesAccess.getContainer(this.applicationContext); this.renderer = new DefinitionRenderer(container); } }