| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.springframework.context.support.ApplicationObjectSupport
|
+--org.springframework.web.context.support.WebApplicationObjectSupport
|
+--org.springframework.web.servlet.view.tiles.TilesConfigurer
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 tiles using a set of files containing definitions. The rest is done by an appropriate Resolver which could for instance be the org.springframework.web.servlet.view.InternalResourceViewResolver InternalResourceViewResolver or the org.springframework.web.servlet.view.ResourceBundleViewResolver ResourceBundleViewResolver. Usage of the TilesConfigurer is done 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.
| Method Summary | |
void | setDefinitions(String[] definitions)Set the Tiles definitions, i.e. |
void | setFactoryClass(Class factoryClass)Set the factory class for Tiles. |
void | setValidateDefinitions(boolean validateDefinitions)Validate the Tiles definitions? Default is false. |
| Methods inherited from class org.springframework.context.support.ApplicationObjectSupport |
getApplicationContext, setApplicationContext |
| Method Detail |
public void setDefinitions(String[] definitions)
public void setFactoryClass(Class factoryClass)
public void setValidateDefinitions(boolean validateDefinitions)
true to validate,
false otherwise| Association Links |
to Class java.lang.String
| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||