Commit graph

26 commits

Author SHA1 Message Date
rjy7
70fe857329 NIHVIVO-1394 As a necessary first step to calling a template from a controller which will add to the data model used by page and body templates, provide BaseTemplateModelDirective with its own template processing methods, to separate from TemplateProcessingHelper, which will only be available to FreemarkerHttpServlet. 2010-11-23 16:10:05 +00:00
rjy7
7ad822efce NIHVIVO-1304 Allow a widget assets template to be absent without generating an error. 2010-11-11 01:19:56 +00:00
rjy7
8dc645cfb6 NIHVIVO-1304 Initial implementation of Widget directive. Requires two templates, one for assets and one for markup; would like to combine into a single template with two macros instead. 2010-11-10 19:50:28 +00:00
rjy7
e940ebc379 NIHVIVO-1304 Make request and context accessible through the Environment object so directives can reference them. 2010-11-09 17:12:10 +00:00
rjy7
5bc5c0b93c NIHVIVO-1176. Removed themeStylesheetDir from template model, and replaced with themeDir. Also modified stylesheet and script addFromTheme methods so the prepend only the theme directory; the specific stylesheet or css directory must be added to the path argument. 2010-10-01 14:55:03 +00:00
mb863
1af3b71b0b Added describe to reveal methods available to scripts. 2010-09-28 18:38:48 +00:00
rjy7
5c9b3cf8da NIHVIVO-564 Style modifications for dump output 2010-08-09 18:59:24 +00:00
rjy7
698d0877c3 NIHVIVO-564 Describe directive to display methods declared on a template model object that are accessible to the template. 2010-08-09 16:31:22 +00:00
rjy7
216d7a7905 NIHVIVO-564 Help directive for directive help output. 2010-08-05 19:54:24 +00:00
rjy7
91468db876 NIHVIVO-564 Rearchitected dump directives to use shared helper methods rather than having dumpAll template call dump directive. 2010-08-05 19:25:12 +00:00
rjy7
528414e4c7 Some renaming in dump directives 2010-08-05 15:25:03 +00:00
rjy7
b90efc74fb NIHVIVO-564 Added infrastructure for dumping template model objects. 2010-07-29 17:39:56 +00:00
rjy7
1ccde72b40 NIHVIVO-564 Going back to using toString() methods for template model dump since it already handles nested collections. Improvements to DumpDataModelDirective so it dumps out values as well as variable names. 2010-07-29 13:44:53 +00:00
rjy7
e6a65f5ad0 NIHVIVO-564 Dump directive 2010-07-28 17:48:03 +00:00
rjy7
83938a2c19 NIHVIVO-564 Work on dump directive 2010-07-27 21:49:40 +00:00
rjy7
ef3988022f NIHVIVO-825 Allow adding a list of scripts or stylesheets with a single call to add() or addFromTheme() 2010-07-27 15:16:07 +00:00
rjy7
444d37bd5a NIHVIVO-646 Reimplement uri filtering in AutoCompleteController so it's part of the query, instead of removing from query results afterward 2010-06-25 19:13:45 +00:00
rjy7
df683191cf Changed template variable stylesheetDir to themeStylesheetDir for clarity. Added examples of how to add a script from a body template. Pass themedir to ScriptList object. 2010-06-25 17:44:50 +00:00
rjy7
3527b1c948 NIHVIVO-658 Handle body changing page title in FreeMarker controllers. Modifications to dump directives. 2010-06-25 15:30:31 +00:00
rjy7
f77cf70224 NIHVIVO-658 Removed response parameter from FreeMarkerHttpServlet.getFreeMarkerComponentsForJsp, since not needed. 2010-06-25 14:38:49 +00:00
rjy7
c7f4c2d961 Additions to freemarker test controller/template 2010-06-24 19:40:39 +00:00
rjy7
72a6658116 Primitive first draft of dump directives for FreeMarker templates. 2010-06-22 04:26:16 +00:00
rjy7
b767a81f76 Primitive first draft of a dump directive for Freemarker templates. 2010-06-22 04:09:48 +00:00
rjy7
ad7621be10 Fixed license text in some ftls 2010-06-21 16:20:20 +00:00
rjy7
86394e3cf2 NIHVIVO-646 Work on autocomplete in add authors to publication form 2010-06-21 16:07:20 +00:00
rjy7
30b07ebd05 Added default formats to Freemarker configuration. Added a test controller and template for running test cases. 2010-06-03 16:20:35 +00:00