Siebel Object Interfaces Reference > Siebel eScript Quick Reference >

Applet


Table 78 lists a summary of the Applet Methods syntax.

Table 78.  Applet Methods Syntax Summary
Method
Description
Syntax
Returns the business component that is associated with the applet.

var applet;
var myBusComp;
myBusComp = applet.BusComp();

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

var applet;
var busObject;
busObject = applet.BusObject();

Calls an argument-specified specialized method.

var applet;
applet.InvokeMethod(methodName, methodArg1, methodArg2, ..., methodArgn);

Returns the name of the applet.

var applet;
var sApplet;
sApplet = applet.Name();

Table 79 lists a summary of the WebApplet Events.

Table 79.  WebApplet Events Summary
Event
Description
Syntax
Called after a specialized method or a user-defined method on the Web applet has been executed.

Applet_InvokeMethod(MethodName);

Called when the applet loses focus.

Applet_Load

Called before the PreInvokeMethod, allowing the developer to determine whether or not the user has the authority to invoke the business service method.

WebApplet_PreCanInvokeMethod(MethodName, CanInvoke)

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

Applet_PreInvokeMethod(MethodName);

Allows scripts to modify the HTML generated by the Siebel Web Engine to render a control on a Web page in a Standard Activity application.

WebApplet_ShowControl (controlName, property, mode, HTML)

Allows scripts to modify the HTML generated by the Siebel Web Engine to render a list column on a Web page in a Standard Activity application.

WebApplet_ShowListColumn (columnName, property, mode, HTML)


 Siebel Object Interfaces Reference 
 Published: 18 June 2003