Example of a Plug-in_Wrapper

The following figure describes how the ColorBoxPW.js file does a partial refresh for a physical renderer. To get a copy of this file, see Article ID 1494998.1 on My Oracle Support. To view an example that uses this file, see Process of Customizing the Plug-in Wrapper.


Example of a Plug-in Wrapper: This image is described in the surrounding text.

As shown in this image, the ColorBoxPW.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 plug-in wrapper class.

  4. Implements the Life Cycle and Interface Methods of a Plug-in Wrapper.

  5. Implements events handlers and other methods specific to the given Plug-in Wrapper.

  6. Wires the Plug-in Wrapper to the Physical Renderer (optionally) based on conditionals.