OpenWGA 5.4 - TMLScript reference

Lists
Method :

list.containsAll(list)

On object Lists
Usage Controls if this list contains all values of another list
Description This method only controls that all the values of the parameter list are contained in this list. This list may actually hold more elements than those tested and hold them in a different order.

Like list.contains() this method is case sensitive on strings.
Parameters list (Liste):
List of values that are tested
Return value true if all values are contained, false otherwise (Boolean)
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events
    portletevent