Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using Template Variables
Reading is noticed Template Variables. They were added in IW15.5.4
There is no demo available but the source helps me out a bit.

Currently I use something similar I created using TIWTemplateProcessorHTML.OnAfterProgress etc. This works but I would like to migrate to this IW offered feature.
There is one part I can't solve yet. I use variables in HTML and javascript.

<div class="value">{%dbProject%}</div>

function updateProjectInfo() {
  var projectName = "{%dbProject_escaped%}";
  // ...


'_escaped' is a modifier that tells my template processor to escape the value that is returned according to the javascript rules.
Is it possible to use Template Variables and achieve the same effect.

Forum Jump:

Users browsing this thread: 1 Guest(s)