Example of a Context Renderer

The following figure describes how the controlsmenuCR.js file does the UI transformation of button controls in a menu. When configured as a context renderer for Contact Form Applet via Manifest, it displays the Applet Button Controls in Menu instead of displaying them inline.


Example of a Context Renderer: This image is described in the surrounding text.

As shown in this image, the controlsmenuCR.js file includes the following sections:

  1. Creates the JavaScript namespace.

  2. Uses the Define method to make sure Siebel Open UI can identify the constructor. For more information, see Define Method.

  3. Creates the context renderer class.

  4. Implements the Life Cycle and Interface Methods of a context renderer.