Helper class to configure Tiles for the Spring Framework. See
http://jakarta.apache.org/struts
for more information about Tiles, which basically is a templating mechanism
for JSP-based web applications.
The TilesConfigurer simply configures a Tiles DefinitionsFactory using a
set of files containing definitions, to be accessed by TilesView instances.
TilesViews can be managed by any ViewResolver.
A typical TilesConfigurer bean definition looks as follows:
<bean id="tilesConfigurer" class="org.springframework.web.servlet.view.tiles.TilesConfigurer">
<property name="definitions">
<list>
<value>/WEB-INF/defs/general.xml</value>
<value>/WEB-INF/defs/widgets.xml</value>
<value>/WEB-INF/defs/administrator.xml</value>
<value>/WEB-INF/defs/customer.xml</value>
<value>/WEB-INF/defs/templates.xml</value>
</list>
</property>
</bean>
The values in the list are the actual files containing the definitions.
author: Alef Arendsen author: Juergen Hoeller See Also: TilesView See Also: org.springframework.web.servlet.ViewResolver |