OpenWGA 7.11 - TMLScript reference

TMLContext "this"
Method :


On object TMLContext "this"
Usage Returns if the contents of an item or WebTML variable is regarded as "filled"
Description This is the counterpart of this.isEmpty() which will mainly return true on all items that this.isEmpty() would not regard as empty.

Because of a special behaviour this method is especially useful to suppress display of empty items and their surrounding, like labels etc., that still should be editable in OpenWGA authoring clients. In authoring clients like OpenWGA content manager this.isFilled() always returns true, so even empty fields are displayed for authors to be able to fill them.
Parameters item: Name of an item or a WebTML variable
Return value true, if the item or WebTML variable is regarded as filled, false otherwise
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events