Siebel Object Interfaces Reference > Browser Scripting >

Applet Methods for Browser Script


Table 56 lists a summary of the Applet methods' syntax.

Table 56. Applet Methods Syntax Summary
Method
Description
Syntax

ActiveMode Method

Returns a string containing the name of the current Web Template mode.

var oApplet;
var mode = oApplet.ActiveMode();

BusComp Method

Returns the business component that is associated with the applet.

var oApplet;
var busComp = oApplet.BusComp();

BusObject Method

Returns the business object for the business component for the applet.

var oApplet;
var oBusObject = oApplet.BusObject();

FindActiveXControl Method

Returns the ActiveX control whose name is specified in the argument.

var oApplet;
var oControl;
oControl = oApplet.FindActiveXControl(controlName);

FindControl Method

Returns the control whose name is specified in the argument.

var oApplet;
var oControl;
oControl = oApplet.FindControl(controlName);

InvokeMethod Method

Calls an argument-specified specialized method.

var oApplet;
var outPs = theApplication().NewPropertySet();
outPs = oApplet.InvokeMethod(MethodName, inputPropSet);

Name Method

Returns the name of the applet.

var oApplet;
var name = oApplet.Name();

Table 57 lists a summary of the Applet Events.

Table 57. Applet Events Summary
Event
Description
Syntax

Applet_ChangeFieldValue Event

Called when the user updates a field value in the browser.

Applet_ChangeFieldValue (field, value)

Applet_ChangeRecord Event

Called when the user moves to a different row or view.

Applet_ChangeRecord()

Applet_InvokeMethod Event

Called after a specialized method or a user-defined method is invoked.

Applet_InvokeMethod (name, inputPropSet)

Applet_Load Event

Triggered after an applet has loaded and after data is displayed.

Applet_Load()

Applet_PreInvokeMethod Event

Called before a specialized method for the Web applet is invoked or a user-defined method is invoked through oWebApplet.InvokeMethod.

Applet_PreInvokeMethod (name, inputPropSet)

Siebel Object Interfaces Reference