An applet makes an instance of a LINCEnvironment object look like an applet so that it can be used from a Web page. You can create the LINCEnvironment object by calling the startLINC() method, and retrieve it using getLINC(). Because applets can only connect to the computer from which they were loaded, use the getLINC() method to obtain the name of the host computer.
An example of the Javascript to use LINCApplet is:
var linc = applet .startLINC("MyLINCApplet", "myPackage","myLINCapplication", "myBundle") var url = "x-ratl:" + applet.getHost() + ":5555" // 5555 is a port number linc.connect(url, "myViewName") linc.login("username", "password") linc.hello()
Where applet is the HTML name given to the applet.
Refer to NCApplet in the Agile Business Suite Component Enabler Class Reference Summary for more information on the parameters, methods, and syntax of LINCApplet.