Using Template Variables - Printable Version +- Atozed Forums (https://www.atozed.com/forums) +-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html) +--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html) +---- Forum: English (https://www.atozed.com/forums/forum-16.html) +----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html) +----- Thread: Using Template Variables (/thread-4141.html) |
Using Template Variables - jeroen.rottink - 05-14-2024 Reading https://www.atozed.com/2024/05/whats-new-in-intraweb-15/ 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. Code: <div class="value">{%dbProject%}</div> '_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. |