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.

As shown in this image, the ColorBoxPW.js file includes the following sections:
-
Creates the JavaScript namespace.
-
Uses the Define method to make sure Siebel Open UI can identify the constructor. For more information, see Define Method.
-
Creates the plug-in wrapper class.
-
Implements the Life Cycle and Interface Methods of a Plug-in Wrapper.
-
Implements events handlers and other methods specific to the given Plug-in Wrapper.
-
Wires the Plug-in Wrapper to the Physical Renderer (optionally) based on conditionals.