Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Replaced content with links to addPlugin and addPluginAsText, which should be used instead.
Info

EditLive!'s Advanced API and plugin functionality is only supported with an EditLive! Enterprise Edition license.

This optional property specifies whether EditLive! will use the advanced APIs. The advanced APIs allow developers to create their own Java classes to extend the core functionality of EditLive!. For more information on the advanced APIs, see the Advanced API Guide

Syntax

Visual Basic Script
Code Block
object.AddJar = jarURL
object.LoadClass = loadClassName
ASP.NET
Code Block
prefix:EditLiveJava AddJar = jarURL
prefix:EditLiveJava LoadClass = loadClassName
JavaScript
Code Block
editliveInstance.addJar(jarURL, loadClassName);

Parameters

jarURL

The URL specified location of the .jar file used to instantiate the modified version of EditLive!.

loadClassName

The fully qualified name of the .class file used to instantiate the modified version of EditLive!. If this name is incorrect, the standard version of EditLive! will load instead of the modified version.

Examples

The following code would specify using the NewApplet.class file, contained in MyApplet.jar to instantiate the modified version of EditLive!. For this example, the MyApplet.jar is located in the same directory as the page loading EditLive!.

VBScript
Code Block
editlive1.AddJar = "MyApplet.jar"
 
editlive1.LoadClass = "NewApplet"
ASP.NET Server Control
Code Block
<elj:EditLiveJava
   ...
   AddJar = "MyApplet.jar"
   LoadClass = "NewApplet"
   ...
/>
JavaScript
Code Block
editlivejs.addJar("MyApplet.jar", "NewApplet");

Remarks

In order to create a modified version of the EditLive! applet, the advanced APIs must be used. These APIs are a combination of Java classes. Information on how to use the advanced APIs can be located in the Advanced API Guide packaged with this SDKPlease see addPlugin and addPluginAsText.