Add Groovy template engine support for Spring MVC apps
Default suffix .tpl. If groovy-templates is on the classpath user can now add templates and get them rendered and resolved in an MVC app. TODO: Macro helpers for message rendering etc. See gh-878
This commit is contained in:
@@ -0,0 +1 @@
|
||||
yield "custom"
|
||||
@@ -0,0 +1 @@
|
||||
yield "home"
|
||||
@@ -0,0 +1 @@
|
||||
yield "here"
|
||||
@@ -0,0 +1 @@
|
||||
yield "voila"
|
||||
@@ -0,0 +1,2 @@
|
||||
yield "include"
|
||||
include template: "included.tpl"
|
||||
@@ -0,0 +1 @@
|
||||
yield "Message: ${greeting}"
|
||||
@@ -0,0 +1 @@
|
||||
yield "prefixed"
|
||||
@@ -0,0 +1,3 @@
|
||||
yield """
|
||||
suffixed
|
||||
"""
|
||||
Reference in New Issue
Block a user