OpenWGA 7.6 - TMLScript reference

WGA
Object:

WGA.TMLPage

Description

This subobject provides information and services regarding the currently rendered TML page.

Retrieval Global object WGA.TMLPage
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
Properties and methods
Name Purpose
getVar(name) Retrieve the value of a TMLScript variable.
removeVar(name) Removes a TMLScript variable
render()
render(design)
render(design, context)
render(design, mediakey)
render(design, mediakey, context)
render(design, mediakey, context, options)

render(config)
Render the current TML page.
setVar(name, value) Set a global TMLScript variable available all over the page (in all included TML modules).
write(output) Directly write the output to the request output stream