OpenWGA 7.10 - TMLScript reference

TMLContext "this"
Property :


On object TMLContext "this"
Usage Returns the TMLForm object representing the current WebTML form
Description The TMLform object can be used to query and modify the data stored in the WebTML form.

The current WebTML form can be (in this priority order):
  • The last <tml:form> tag that was rendered in the current request, if there was any. This may be a <tml:form> tag that is currently already closed
  • A WebTML form that was submitted in the previous request

If neither of these is available this.tmlform will return null.

If there are multiple forms available for your WebTML page you can choose a special one using this.tmlformbyid() instead.
Writable False
Return value A TMLForm object
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions