OpenWGA 7.7 - TMLScript reference

Design
Method :

resolveScriplets([context,] input [, objects])

On object Design
Usage Resolves WebTML scriptlets in a string
Description The scriptlets inside the given input string are resolved - either using the given TMLContext for context or the one of the running script - and the complete string with resolved scriptlet results is returned.
Parameters

context (TMLContext, optional):

A WebTML context to execute the scriptlets against. Omit to use the scripts base context.

input (String):

The string containing scriptlets

objects (Lookup table, optional):

Additional objects that are to be provided to the code of custom scriptlets, keyed by their names inside the code.

Return value The string with resolved scriptlet results (String)
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events