This method is used to apply a solution, created using the desktop Visual Designer, to an instance of EditLive! for XML.
A URL specifying the Web accessible location of the file for this solution. This file must be an .els solution file created using the desktop Visual Designer. This value can be either a relative or an absolute URL. Relative URLs are relative to the location of the page in which EditLive! for XML is embedded.
Example 16.29. setSolution Method Example Scripting
The following example demonstrates how to load a solution specified by the URL http://yourserver.com/solutions/yoursolution.els.
JavaScript
var editlivexml = New EditLiveXML("ELXApplet1","700","400");
editlivexml.setSolution("http://yourserver.com/solutions/yoursolution.els");Copyright 2001-2005 Ephox Corporation. All Rights Reserved.