Author: ssmiweve
Date: 2009-01-26 23:40:18 +0100 (Mon, 26 Jan 2009)
New Revision: 7167
Added:
branches/2.18/generic.sesam/war/src/main/templates/pages/datamodel-json.vm
Log:
* Convert sections (datamodel.includes) of the context's DataModel into a JSON
object.
* This allows client javascript to use the datamodel exactly like JSP and
velocity templates do.
Added:
branches/2.18/generic.sesam/war/src/main/templates/pages/datamodel-json.vm
===================================================================
--- branches/2.18/generic.sesam/war/src/main/templates/pages/datamodel-json.vm
(rev 0)
+++ branches/2.18/generic.sesam/war/src/main/templates/pages/datamodel-json.vm
2009-01-26 22:40:18 UTC (rev 7167)
@@ -0,0 +1 @@
+#jsonDataModel()##
\ No newline at end of file
_______________________________________________
Kernel-commits mailing list
[email protected]
http://sesat.no/mailman/listinfo/kernel-commits