OpenWGA 7.2 - TMLScript reference

Nav
Method :

navigate(type, [attributes])

On object Nav
Usage Returns a NavigatorResult for a WebTML navigator, just like <tml:navigator>
Description This is a generic method able to generate all types of navigator results. There are convenience methods for the most frequently used navigator types, which actually use this method in the backend, like children(), path() etc.
Parameters

type (String):

The type of navigator whose result should be created. Accepts all navigator type known from <tml:navigator> attribute "type".

attributes (Lookup table, optional):

Attributes to influence the navigator result. Use attribute names of <tml:navigator> as keys and the respective attribute values as values. Note however the exceptions to this usage documented on the Nav object.

Return value NavigatorResult
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events