Bookshelf Home | Contents | Index | Search | PDF |
Siebel Object Interfaces Reference > Interfaces Reference > Applet Events >
WebApplet_Load
The Load event is triggered just after an applet is loaded.
Syntax
WebApplet_Load()
Returns
Not applicable
Usage
Do not call TheApplication().ActiveBusObject from WebApplet_Load because it returns a null. Instead use this.BusObject() to obtain a reference to the current business object.
Used With
Server Script
See Also
Applet_InvokeMethod
Application_InvokeMethod
WebApplet_PreCanInvokeMethodExample
Here is an eScript example:
function WebApplet_Load ()
{
try
{
var currBC = this.BusComp();
currBC.SetViewMode(5);
currBC.ClearToQuery;
currBC.SetSearchSpec("Last Name", "A*");
currBC.ExecuteQuery(ForwardBackward);
return (CancelOperation);
}
catch (e)
{
TheApplication().RaiseErrorText(e.errText);
}
}
Bookshelf Home | Contents | Index | Search | PDF |
Siebel Object Interfaces Reference Published: 18 June 2003 |