The AppletContainer applet lets you instantiate one or more of the eSuite applets and display the InfoCenter appropriate to each contained applet at run time when that applet has focus. An AppletContainer can accommodate up to four applets.
The following HTML page shows how to do the following:
<HTML> <HEAD> <TITLE>AppletContainer example</TITLE> </HEAD> <BODY BGCOLOR="#FFFFFF"> <APPLET NAME="MyAppletContainer" CODE="lotus.fc.AppletContainer" CODEBASE="../.." ARCHIVE="jars/devpack_chart_sheet_app.jar" WIDTH=620 HEIGHT=550 NAME="myContainer"> <PARAM NAME="cabinets" VALUE = "cabs/devpack_sheet_app.cab, cabs/devpack_chart_app.cab"> <PARAM NAME = "layoutStyle" VALUE = "TopToBottom"> <PARAM NAME = "infoCenterVisible" VALUE = "true"> <PARAM NAME = "applet_0" VALUE = "lotus.sheet.Sheet"> <PARAM NAME = "name_0" VALUE = "sheet"> <PARAM NAME = "sheet.fileName" VALUE = "salesbymonth.html"> <PARAM NAME = "sheet.height" VALUE = "220"> <PARAM NAME = "applet_1" VALUE = "lotus.chart.Chart"> <PARAM NAME = "name_1" VALUE = "myChart"> <PARAM NAME = "myChart.DataSource" VALUE = "TotalRevenue"> <PARAM NAME = "myChart.height" VALUE = "330"> </APPLET> <SCRIPT LANGUAGE = "JavaScript"> <!-- function makeChartFlat() { //Obtain a reference to the chart. thisChart = document.myContainer.getContainedApplet(1); //Make the chart 2-dimensional and repaint it. thisChart.setPerspective(1); thisChart.refresh() } //--> </SCRIPT> <FORM> <INPUT TYPE = "button" VALUE = "Flatten chart" ONCLICK = "makeChartFlat()"> </FORM> </APPLET> </BODY> </HTML>