Commit Graph

28 Commits

Author SHA1 Message Date
Sebastian Sdorra
8d58137bae added method to read templates from a reader 2012-10-29 13:04:00 +01:00
Sebastian Sdorra
9b98ab78c6 fix license headers 2012-09-13 15:47:13 +02:00
Sebastian Sdorra
9de33362bd throw io exception if template is not parse able 2012-08-18 13:52:17 +02:00
Sebastian Sdorra
65dde22676 fix mustache render failure test 2012-08-18 13:40:21 +02:00
Sebastian Sdorra
e275c2ebfe improve logging 2012-08-18 12:19:38 +02:00
Sebastian Sdorra
72eb5a4ba6 return null if no template could be found 2012-08-18 12:18:58 +02:00
Sebastian Sdorra
ff362ead93 return null if no template could be found 2012-08-18 12:02:07 +02:00
Sebastian Sdorra
428b7973fe remove unused import 2012-08-18 11:41:08 +02:00
Sebastian Sdorra
18be1a5b70 do not transform script resources 2012-08-13 08:13:02 +02:00
Sebastian Sdorra
bed3015fe3 fix template not found problems on /index.html 2012-08-12 22:22:51 +02:00
Sebastian Sdorra
de9d090459 fix wrong template path in error servlet 2012-08-12 22:03:31 +02:00
Sebastian Sdorra
87885e73f3 close writer instead of context 2012-08-12 22:02:23 +02:00
Sebastian Sdorra
bc34f85a1d fix lincense headers 2012-08-12 21:55:18 +02:00
Sebastian Sdorra
5963cbd536 added cached thread pool to mustache template engine 2012-08-12 21:46:45 +02:00
Sebastian Sdorra
ba8814754d use object instead of map for template model 2012-08-12 21:19:44 +02:00
Sebastian Sdorra
48fcb874a9 added freemarker template engine 2012-08-12 21:01:22 +02:00
Sebastian Sdorra
f5ef8890bc use mustache template engine to render index and error page 2012-08-12 20:51:51 +02:00
Sebastian Sdorra
aaf089a22f implement template api for mustache 2012-08-12 20:50:19 +02:00
Sebastian Sdorra
a8a1be7585 templates can be loaded from webapp context or classpath 2012-04-30 13:40:44 +02:00
Sebastian Sdorra
374283e646 fix license headers 2012-04-07 10:27:06 +02:00
Sebastian Sdorra
215b9b3757 improve handling of startup error handling 2012-04-03 09:48:22 +02:00
Sebastian Sdorra
ae2b66bd08 add resources to template 2012-02-03 20:41:38 +01:00
Sebastian Sdorra
85cb79b331 remove unused imports 2011-09-09 11:48:05 +02:00
Sebastian Sdorra
2662564e53 use setServletContextForTemplateLoading instead of setDirectoryForTemplateLoading, see issue #38 2011-08-04 11:20:57 +02:00
Sebastian Sdorra
9a399756f9 improve logging for issue 38 2011-08-04 11:11:22 +02:00
Sebastian Sdorra
abdc256a0d fix missing content-type 2011-04-18 18:57:55 +02:00
Sebastian Sdorra
9739b216c4 improve i18n support 2011-03-31 10:52:25 +02:00
Sebastian Sdorra
df65beba50 using freemarker to render index.html 2011-03-27 13:47:47 +02:00