Siebel eScript Language Reference > Siebel eScript Commands >

Applet Objects

Within a Siebel application, an applet serves as a container for the collection of user interface objects that together represent the visible representation of one business component (BusComp) object. Applets are combined to form views. Views constitute the display portions of a Siebel application. Applet objects are available in Browser Script. Methods of applet objects are documented in the Siebel Object Interfaces Reference.

A Web applet represents an applet that is rendered by the Siebel Web Engine. It exists only as a scriptable object in Server Script and is accessed by using the Edit Server Script command on the selected applet. Methods and events of the Web Applet object are listed in Table 28.

Table 28. Web Applet Object Methods and Events
Method or Event

ActiveMode() Method

ActiveMode returns a string containing the name of the current Web Template mode.

Applet_ChangeFieldValue() Event

The ChangeFieldValue event is fired when the data in a field changes.

Applet_ChangeRecord() Event

The ChangeRecord event is called when the user moves to a different row or view.

Applet_InvokeMethod() Event

The InvokeMethod event is triggered by a call to applet.InvokeMethod, a call to a specialized method, or by a user-defined menu.

Applet_Load() Event

The Load event is triggered after an applet has loaded and after data is displayed.

Applet_PreInvokeMethod() Event

The PreInvokeMethod event is called before a specialized method is invoked by the system, by a user-defined applet menu, or by calling InvokeMethod on an applet.

BusComp() Method

BusComp() returns the business component that is associated with the applet.

BusObject() Method

BusObject() returns the business object for the business component for the applet.

FindActiveXControl() Method

FindActiveXControl returns a reference to a DOM element based upon the name specified in the name parameter.

FindControl() Method

FindControl returns the control whose name is specified in the parameter. This applet must be part of the displayed view.

InvokeMethod() Method

The InvokeMethod() method calls a parameter-specified specialized method.

Name() Method

The Name() method returns the name of the applet.

WebApplet_InvokeMethod() Event

The InvokeMethod() event is called after a specialized method or a user-defined method on the Web applet has been executed.

WebApplet_Load() Event

The WebApplet_Load() event is triggered just after an applet is loaded.

WebApplet_PreCanInvokeMethod() Event

The PreCanInvokeMethod() event is called before the PreInvokeMethod, allowing the developer to determine whether or not the user has the authority to invoke a specified WebApplet method.

WebApplet_PreInvokeMethod() Event

The PreInvokeMethod() event is called before a specialized method for the Web applet is invoked by the system or a user-defined method is invoked through oWebAppVar.InvokeMethod.

WebApplet_ShowControl() Event

This event allows scripts to modify the HTML generated by the Siebel Web Engine to render a control on a Web page in a customer or partner application.

WebApplet_ShowListColumn() Event

This event allows scripts to modify the HTML generated by the Siebel Web Engine to render a list column on a Web page in a customer or partner application.

Siebel eScript Language Reference