This property must be set with an appropriate value before the show method is called.
This property stipulates where to download the Java Run Time Environment (JRE) from, if it is not already installed on the client machine. If this property is passed the value true, the JRE will be downloaded and installed from the server directory stipulated by the setDownloadDirectory property, if required on the client machine. If this property is passed the value false, the JRE will be downloaded and installed from the Sun Microsystems Web site.
JavaScript object.setLocalDeployment(blnLocalDeployment)
blnLocalDeployment Required. A boolean indicating where to download the JRE files if they are required.
The following code creates an instance of EditLive! for Java and sets it to use the local copy of the JRE files from the server.
var editlivejava1;
editlivejava1 = new EditLiveJava("ELJApplet1","600","400");
editlivejava1.setLocalDeployment(true);
It is recommended that, for deployment across an intranet that local deployment is set to true. This is most likely to provide faster deployment. For deployment across the Internet it is recommended that local deployment is set to false. While this may not result in an increase in speed, the JRE deployment from the Sun Microsystems servers gives a progress bar indicator. This will be useful when users should expect longer download times, such as across the Internet.
Copyright © 2001-2004 Ephox Corporation. All Rights Reserved.