Item12686: add tmpl REST handler to load jquery.tmpl asyonchronously

pencil
Priority: Enhancement
Current State: Closed
Released In: 2.0.0
Target Release: major
Applies To: Extension
Component: JQueryPlugin
Branches: trunk
Reported By: MichaelDaum
Waiting For:
Last Change By: GeorgeClark
"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 tmpl REST handler of the jquery.tmpl 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.

-- MichaelDaum - 11 Dec 2013

Documentation and examples missing.

-- MichaelDaum - 30 May 2014
 

ItemTemplate edit

Summary add tmpl REST handler to load jquery.tmpl asyonchronously
ReportedBy MichaelDaum
Codebase trunk
SVN Range
AppliesTo Extension
Component JQueryPlugin
Priority Enhancement
CurrentState Closed
WaitingFor
Checkins distro:1396af420112 distro:22fcaf7525cd
TargetRelease major
ReleasedIn 2.0.0
CheckinsOnBranches trunk
trunkCheckins distro:1396af420112 distro:22fcaf7525cd
masterCheckins
ItemBranchCheckins
Release01x01Checkins
Topic revision: r7 - 05 Jul 2015, GeorgeClark - This page was cached on 10 Dec 2016 - 10:06.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License