aboutsummaryrefslogtreecommitdiff
path: root/juick-spring-www/src/test/resources
diff options
context:
space:
mode:
Diffstat (limited to 'juick-spring-www/src/test/resources')
-rw-r--r--juick-spring-www/src/test/resources/tests/simple.thtest25
1 files changed, 25 insertions, 0 deletions
diff --git a/juick-spring-www/src/test/resources/tests/simple.thtest b/juick-spring-www/src/test/resources/tests/simple.thtest
new file mode 100644
index 00000000..1505a382
--- /dev/null
+++ b/juick-spring-www/src/test/resources/tests/simple.thtest
@@ -0,0 +1,25 @@
+%TEMPLATE_MODE HTML
+# ------------ separator comment -----------
+%CONTEXT
+onevar = 'Goodbye,'
+# ------------------------------------------
+%MESSAGES
+one.msg = Crisis
+# ------------------------------------------
+%INPUT
+<!DOCTYPE html>
+<html>
+ <body>
+ <span th:text="${onevar}">Hello,</span>
+ <span th:text="#{one.msg}">World!</span>
+ </body>
+</html>
+# ------------------------------------------
+%OUTPUT
+<!DOCTYPE html>
+<html>
+ <body>
+ <span>Goodbye,</span>
+ <span>Crisis</span>
+ </body>
+</html> \ No newline at end of file