|
Using Sferyx LiveConnect Proxy for Mac OS X
What is the Sferyx LiveConnect Proxy:
The Sferyx LiveConnect Proxy is a set of additional components (javascript,html and applet files) which enable the java-javascript communications on platforms and browsers where it is not implemented directly by the browser vendor.
When is used the LiveConnect Proxy:
- Currently on all Windows and Linux/Solaris browsers - java-javascript communication is supported directly. The LiveConnect Proxy is not needed in this cases. you can access the editor'sjavascript functions directly.
- The LiveConnect proxy is used mainly for Internet Explorer 5.2 for Mac and Safari 1.0.
- On Mac OS X 10.3.x with java 1.4.2 and Safari 1.2 LiveConnect is implemented directly and will work equally as to windows. For Safari 1.2 the LiveConnect Proxy is not needed
Sferyx LiveConnect Proxy is bundled with all retail products Applet Edition:
In the directory lcp js files of your retail package you will find the following files:
- Ivproxy.js - supplementary javascript file - it should be linked to the document containing the applet
- invisible.htm - bridge html file - used to transfer the info between the various page components.
How it is working
- The easiest way to test this functionalities and to understand how it is working - see the demo pages supplied with the retail product in the directory mac lcp files. You can consult also our on-line demos here: http://www.sferyx.com/htmleditorapplet/demomac/
- Read the instructions below:
So make sure the following steps are executed correctly:
- The files lsproxy.js and invisible.htm should be placed in the same directory where the applet jar file is placed.
- The declaration of the applet should be the following:
document.writeln('<applet code="sferyx.administration.editors.HTMLEditor" '+relativeCodeBase+' archive="HTMLEditorAppletLight.jar" width="650" height="400" name="htmleditor">');
Make attention that in this case is used codebase instead of setting the path in the archive attribute
This way the relativeCodeBase is included automatically.
|