This topic applies only to the IBM Business Automation Workflow Advanced
configuration.

Using the Dojo Toolkit

Draft comment:
This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-03-13 12:15
Draft comment:
This topic was viewed 40 times since its publication
Dojo is an open source set of JavaScript libraries that enhance the capabilities of native JavaScript. The Dojo Toolkit is supplied and loaded by Coach pages.

About this task

Commonly, Dojo is thought as a visual language for building rich web pages. Although this is an important component of the Dojo Toolkit, it is not its only function.

If you are developing complex Coach views using Dojo or another JavaScript library and need advanced features for JavaScript development, debugging, and testing, consider using an IDE tool, such as Rational® Application Developer, to initially create the JavaScript. You can then use the JavaScript that you develop as part of your Coach views in Process Designer.

Procedure

  1. Open a Coach component.
  2. Use Dojo calls.
    For example, use var x = dojo.byId("name of control"); to return the DOM node of the control by name.