Bookshelf Home | Contents | Index | PDF |
Configuring Siebel eBusiness Applications > Overview of Configuring Siebel Applications > About Scripting and Object Interfaces > Browser-Side ScriptingBrowser script allows you to extend browser behavior using JavaScript, an interpreted language that runs in many Web browsers. Browser scripts respond to events on browser-side Java objects. These browser objects work in tandem with their corresponding objects running in the object manager. Browser scripts are written using Siebel Tools and can be associated with the following Siebel object types: applets, business components, business services, and applications. See Figure 7. Like their server-side counterparts, browser script object types allow you to write event procedures. However, the set of events that can be scripted with browser object types are different from their server-side counterparts. Browser-supported events can be scripted for the following cases:
NOTE: In standard interactivity, the following Siebel objects are not available for browser scripting: applet, application, business component, and business service. You cannot write script to handle pre- and post-events. However, you can write scripts to handle control-level events such as Onclick, Onblur, and Text controls. For scripting against browser-side events, you are provided with Browser Script children object types of the Application, Applet, Business Component, and Business Service object types. These object types are illustrated below, along with their server-side (Script and Web Script—for scripting in Siebel VB, JavaScript, or Java) counterparts. Figure 7 shows the various scripting objects. The following example, shown in Figure 8, illustrates how you can configure client-side form field validation using Browser Script. It shows browser script for the Account BrowserBusComp PreSetFieldValue event handler. NOTE: For employee applications that use the High Interactivity Framework, business component browser script is appropriate when only active objects (that is, Siebel objects exposed on the UI) are used in the script. |
Configuring Siebel eBusiness Applications |