Edit C:\galaxie\deploy\Tomcat6\webapps\galaxie\wwwForm\integrationInAnExternalWebSite.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <script type="text/javascript" language="javascript" src="http://e-deal.biz/file/common/wwwForm/include/js/edeal/vendor/jquery/jquery.js"></script> <script type="text/javascript" language="javascript" src="http://e-deal.biz/file/common/wwwForm/include/js/edeal/tools/include.js"></script> <script type="text/javascript" language="javascript" src="http://e-deal.biz/file/common/wwwForm/include/js/edeal/tools/utils.js"></script> <script type="text/javascript" language="javascript" src="http://e-deal.biz/file/common/wwwForm/include/js/edeal/managers/edManager.js"></script> <script language="javascript"> $(document).ready(function(){ includeWebForm($('#myWebForm'), 'http://e-deal.biz/', "iT", "2", ""); }); function includeWebForm(container, rootPath, clientCode, seqNum, extraParameters) { //parse url to get the queryString if (!window.edeal) window.edeal = new Object(); window.edeal.webFormLoadedFromAnExternalWebSite = true; var urlToGetQueryStringParameters = rootPath + clientCode + "/service/wwwform/get/" + seqNum; if (extraParameters) { urlToGetQueryStringParameters += "?" + extraParameters } var utk = getParameterByNameInUrl(urlToGetQueryStringParameters, "utk"); var design = getParameterByNameInUrl(urlToGetQueryStringParameters, "design"); window.edeal.utk = utk; window.edeal.design = design; window.edeal.HUBRootPath = rootPath; window.edeal.clientCode = clientCode; window.edeal.seqNum = seqNum; if (urlToGetQueryStringParameters) { $.support.cors = true; $.ajax({ type: 'GET', url: urlToGetQueryStringParameters, async: false, jsonpCallback: 'jsonCallback', contentType: "application/json", dataType: 'html', beforeSend: function (request) { request.setRequestHeader("Access-Control-Allow-Origin", "*"); }, success: function(data) { container.html(data); //includeAllEngineJS(rootPath, function() { include(rootPath + "file/" + clientCode + "/wwwform/wwwForm.css", function(fn){ //var edmanager = new Managers.EdManager({ACCESS_MODE: "MODIFY", rootPath:rootPath + "file/common/wwwForm/include/"}); var edmanager = new Managers.EdManager({ACCESS_MODE: "MODIFY", rootPath:rootPath, subRootPath: "file/common/wwwForm/include/"}); }) }, error: function(jqXHR, textStatus, errorThrown) { console.error("jqXHR object :"); console.error(jqXHR); console.error("textStatus :"); console.error(textStatus); console.error("errorThrown : "); console.error(errorThrown); } }); /*$.get(urlToGetQueryStringParameters, function(data) { container.html(data); //includeAllEngineJS(rootPath, function() { include(rootPath + "file/" + clientCode + "/wwwform/wwwForm.css", function(fn){ //var edmanager = new Managers.EdManager({ACCESS_MODE: "MODIFY", rootPath:rootPath + "file/common/wwwForm/include/"}); var edmanager = new Managers.EdManager({ACCESS_MODE: "MODIFY", rootPath:rootPath, subRootPath: "file/common/wwwForm/include/"}); }); //}); }) .error(function(jqXHR, textStatus, errorThrown) { console.error("jqXHR object :"); console.error(jqXHR); console.error("textStatus :"); console.error(textStatus); console.error("errorThrown : "); console.error(errorThrown); });*/ } } </script> </head> <body> <h2>Bienvenue sur le site Disney Land Paris</h2> <h3>Participiez a notre enquete si joliment fournie par E-Deal :)</h3> <div id="myWebForm" style="width:100%; margin:30px"> </div> <h3>A bientot chez Mickey</h3> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de