Item12686: add tmpl REST handler to load jquery.tmpl asyonchronously
Current State: Closed
Released In: 2.0.0
Target Release: major
"Bring together foswiki TMPL and jQuery tmpl"
Before, jquery.tmpl definitions had to be included into the HTML head as
<script type="text/x-jquery-tmpl" id="myTemplateName">
sections. As the kind and number of templates might not be known in advance in a dynamic web frontend, it is required to load them async'ly. the new
REST handler of the
module now calls foswiki's own TMPL mechanism to load these, something not possible otherwise, except with the use of RenderPlugin
. That way jquery.tmpl
definitions can be customized using Foswiki's skin path overload mechanism, but rendered on the client side.
- 11 Dec 2013
Documentation and examples missing.
- 30 May 2014