Document locale convention in Tiles def file names
In Tiles v3 integration, underscores in filenames are
intended to identify the definition locale. This behavior
is now documented in order to avoid unexpected results
with filenames like tiles_definitions.xml.
This commit also updates Tiles v2 references to Tiles v3
in the Spring reference documentation.
Issue: SPR-11491
pull/489/merge
Sebastien Deleuze12 years agocommitted byRossen Stoyanchev
@ -33380,17 +33380,11 @@ This section focuses on Spring's support for Tiles v3 in the
@@ -33380,17 +33380,11 @@ This section focuses on Spring's support for Tiles v3 in the
====
[[view-tiles-dependencies]]
==== Dependencies
To be able to use Tiles you have to have a couple of additional dependencies included in
your project. The following is the list of dependencies you need.
* `Tiles version 2.1.2 or higher`
* `Commons BeanUtils`
* `Commons Digester`
* `Commons Logging`
To be able to use Tiles, you have to add a dependency on Tiles version 3.0.1 or higher
and http://tiles.apache.org/framework/dependency-management.html[its transitive dependencies]
to your project.
[[view-tiles-integrate]]
@ -33403,7 +33397,7 @@ look at the following piece of example ApplicationContext configuration:
@@ -33403,7 +33397,7 @@ look at the following piece of example ApplicationContext configuration:
@ -33424,6 +33418,31 @@ Spring web application. To be able to use the views you have to have a `ViewReso
@@ -33424,6 +33418,31 @@ Spring web application. To be able to use the views you have to have a `ViewReso
just as with any other view technology used with Spring. Below you can find two
possibilities, the `UrlBasedViewResolver` and the `ResourceBundleViewResolver`.
You can specify locale specific Tiles definitions by adding an underscore and then
@ -33500,7 +33519,7 @@ per preparer name (as used in your Tiles definitions).
@@ -33500,7 +33519,7 @@ per preparer name (as used in your Tiles definitions).
@ -33513,7 +33532,7 @@ per preparer name (as used in your Tiles definitions).
@@ -33513,7 +33532,7 @@ per preparer name (as used in your Tiles definitions).
<!-- resolving preparer names as Spring bean definition names -->