Bookshelf Home | Contents | Index | PDF | ![]() ![]() |
Siebel Object Interfaces Reference > Siebel Object Interfaces Reference > Object Interfaces Reference > Applet MethodsThis topic describes applet methods. It includes the following topics:
In these methods, the Applet variable represents an applet instance. ActiveMode Method for an AppletThe ActiveMode method returns a string that contains the name of the current Web template mode. FormatUsed WithExamplesThe following example is in Browser Script: function Applet_Load () BusComp Method for an AppletThe BusComp method when used in the context of an applet returns the current business component instance that this applet references. FormatUsed WithBusObject Method for an AppletThe BusObject method returns the name of the business object that the business component references. FormatUsed WithExamplesThe following example is in Browser Script: function Applet_Load () The following example is in Siebel eScript: function WebApplet_Load () The following example is in Siebel VB: Sub WebApplet_Load FindActiveXControl Method for an AppletThe FindActiveXControl method returns the name of a control that is a Document Object Model element. FormatApplet.FindActiveXControl(controlName) Table 21 describes the arguments for the Browser Script format of the FindActiveXControl method.
UsageYou can use the FindActiveXControl method to find a control on a form applet. It does not locate a list column on a list applet. Used WithExamplesThe following Browser Script example interacts with a Microsoft slide ActiveX control that resides on a Siebel applet: // Get a reference to the control // Display some of the ActiveX Control's properties SlideCtrl.SelStart = 2; // Set a control property var myCustomCtrl = FindActiveXControl("TestControl"); FindControl Method for an AppletThe FindControl method returns the name of a control. This applet must be part of the view that Siebel CRM displays. FormatApplet.FindControl(controlName) The arguments you can use with this format are the same as the arguments described in Table 21. UsageThe FindControl method does not do the following:
Used WithExamples of Using the FindControl MethodThe following example is in Browser Script: function Applet_PreInvokeMethod (name, inputPropSet) ctl.SetLabelProperty("FontSize", "22"); // Set the font size To use this example, see SetLabelProperty Method for a Control. InvokeMethod Method for an AppletThe InvokeMethod method calls a specialized method. It returns the following:
Browser Script FormatApplet.InvokeMethod(methodName, methodArgs_PropSet); Table 22 describes the arguments for the Browser Script format of the InvokeMethod method. Server Script FormatApplet.InvokeMethod(methodName, methArg1, methArg2, methArgN); Table 23 describes the arguments for the Browser Script format of the InvokeMethod method.
UsageAvailable with Server Script and Browser Script. Note the following:
Caution About Using the InvokeMethod MethodYou must use InvokeMethod only to call a method that this book describes. Used WithExamplesThe following example is in Siebel eScript: function WebApplet_PreInvokeMethod (MethodName) Name Method for an AppletThe Name method for an applet returns the name of an applet. FormatUsed WithExamplesThe following example is in Browser Script: function Applet_Load () The following example is in Siebel eScript: function WebApplet_Load () The following example is in Siebel VB: Sub WebApplet_Load |
![]() ![]() |
Siebel Object Interfaces Reference | Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |