Spring-StringTemplate-SiteMesh

Library to provide StringTemplate integration for Spring MVC and SiteMesh

License

License

GroupId

GroupId

com.watchitlater
ArtifactId

ArtifactId

spring-stringtemplate
Last Version

Last Version

1.5.1
Release Date

Release Date

Type

Type

jar
Description

Description

Spring-StringTemplate-SiteMesh
Library to provide StringTemplate integration for Spring MVC and SiteMesh
Project URL

Project URL

https://github.com/tomcz/spring-stringtemplate

Download spring-stringtemplate

How to add to project

<!-- https://jarcasting.com/artifacts/com.watchitlater/spring-stringtemplate/ -->
<dependency>
    <groupId>com.watchitlater</groupId>
    <artifactId>spring-stringtemplate</artifactId>
    <version>1.5.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.watchitlater/spring-stringtemplate/
implementation 'com.watchitlater:spring-stringtemplate:1.5.1'
// https://jarcasting.com/artifacts/com.watchitlater/spring-stringtemplate/
implementation ("com.watchitlater:spring-stringtemplate:1.5.1")
'com.watchitlater:spring-stringtemplate:jar:1.5.1'
<dependency org="com.watchitlater" name="spring-stringtemplate" rev="1.5.1">
  <artifact name="spring-stringtemplate" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.watchitlater', module='spring-stringtemplate', version='1.5.1')
)
libraryDependencies += "com.watchitlater" % "spring-stringtemplate" % "1.5.1"
[com.watchitlater/spring-stringtemplate "1.5.1"]

Dependencies

compile (4)

Group / Artifact Type Version
org.antlr : stringtemplate jar 3.2.1
opensymphony : sitemesh jar 2.4.2
commons-lang : commons-lang jar 2.5
org.springframework : spring-webmvc jar 3.0.5.RELEASE

provided (4)

Group / Artifact Type Version
org.slf4j : slf4j-api jar 1.6.1
org.slf4j : slf4j-simple jar 1.6.1
org.slf4j : jcl-over-slf4j jar 1.6.1
javax.servlet : servlet-api jar 2.5

test (7)

Group / Artifact Type Version
junit : junit jar 4.8.2
org.hamcrest : hamcrest-all jar 1.1
org.mockito : mockito-core jar 1.8.5
rhino : js jar 1.6R5
httpunit : httpunit jar 1.7
org.mortbay.jetty : jetty jar 6.1.22
org.springframework : spring-test jar 3.0.5.RELEASE

Project Modules

There are no modules declared in this project.

Spring-StringTemplate-SiteMesh

This library provides a reusable integration mechanism between the StringTemplate java template engine and the Spring MVC Framework. The pattern used is very similar to the way that the Freemarker template engine is already integrated with Spring's MVC. In addition this project provides a StringTemplateDecoratorServlet that can be used to allow StringTemplate's templates to act as SiteMesh decorators.

An example of this integration with both Spring MVC and SiteMesh can be found in the src/test/webapp/WEB-INF directory of this project and is actually used to verify runtime compatiblity with both Spring and SiteMesh.

Runtime dependencies:

  • stringtemplate 3.2.1 (required)
  • antlr 2.7.7 (stringtemplate dependency)
  • springframework 3.x (required)
  • commons-lang 2.7.7 (required)
  • sitemesh 2.4.1 (optional)

Note: Release 1.5.1 has been uploaded to the Maven Repository so you can fetch it via:

<dependency>
  <groupId>com.watchitlater</groupId>
	<artifactId>spring-stringtemplate</artifactId>
	<version>1.5.1</version>
</dependency>

Versions

Version
1.5.1