3.2.0-M2
Convention Over Configuration but Still Completely Configurable
NOTE: This release is breaking and not compatible with previous releases due to a configuration change. The key difference being that this version can now run without any configuration files. Since Site Mesh 3 has no dependencies on any other artifacts, all that needs to be done to get up and running is to drop the sitemesh-3.2.0-M2.jar
into your web applications lib folder and SiteMesh3 will configure itself automatically.
The only breaking change is that decorators are now expected to be stored in the /WEB-INF/decorators
folder. However, this can be changed back by either using the .setPrefix("")
or using sitemesh3.xml
as follows:
<sitemesh>
<decorator-prefix>/WEB-INF/layouts/</decorator-prefix>
</sitemesh>
If you want to upgrade to this version without moving anything around, simply just set the prefix to an empty String.
e.g.:
<sitemesh>
<decorator-prefix></decorator-prefix>
</sitemesh>
One other thing to mention to 3.2.0-M1 Spring Boot users, we changed application.yml
configuration to now be
sitemesh:
decorator:
...
instead of being under spring:
.
We did this because in the future we may explore allowing users to use yaml
instead of xml
or java
for configuring SiteMesh.
Although we feel comfortable with using this version in a production environment. We are using Milestone versioning because the final release may incorporate breaking configuration changes from this version. Please read all release notes before upgrading to future versions.
Full Changelog: 3.2.0-M1...3.2.0-M2
We welcome any feed back. Expect an official 3.2.0 release soon!