IBM BPM, V8.0.1, All platforms > Programming IBM BPM > Developing using the JavaScript API > External JavaScript libraries

Use the Dojo Toolkit

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.

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 approaching Dojo for building rich user interfaces, strongly consider using Rational Application Developer for development of the HTML and JavaScript.


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.

External JavaScript libraries