OpenWGA 7.6 - TMLScript reference

WGA
Method :

scoped(text [, scope])

On object WGA
Usage Qualifies the given text with the current WebTML scope
Description This is the TMLScript pendant to the dynamic attribute function "{scoped:text}". It can be used for any text that should be qualified with the current WebTML scope, so it won't collide with other usages of this text in its domain. See WebTML scoping for details how to use this feature.
Parameters

text (String):

Any text to be scoped

scope (String, optional):

Can optionally be used to manually determine the scope to be used instead of the current WebTML scope

Return value The scoped version of the text (String)
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions