OpenWGA 7.9 - TMLScript reference

TMLContext "this"
Method :

isMainDocument()

On object TMLContext "this"
Usage Returns if the document in context is the main document of the request
Description The main document of the request is the document that was directly addressed in the URL of the current request and which is the "main context" of this request. This method tests if the current context document is identical with it.
Return value (Boolean)
Allowed in script types
  • WebTML pages and normal WebTML actions