[mashup-dev] svn commit r3495 - trunk/mashup/java/modules/www/js/wso2

svn at wso2.org svn at wso2.org
Mon Jun 4 10:26:53 PDT 2007


Author: tyrell
Date: Mon Jun  4 10:26:45 2007
New Revision: 3495

Modified:
   trunk/mashup/java/modules/www/js/wso2/MashupEditor.js
   trunk/mashup/java/modules/www/js/wso2/mashup-widget-helper.js
Log:
Integrating namespace changes of processXML.

Modified: trunk/mashup/java/modules/www/js/wso2/MashupEditor.js
==============================================================================
--- trunk/mashup/java/modules/www/js/wso2/MashupEditor.js	(original)
+++ trunk/mashup/java/modules/www/js/wso2/MashupEditor.js	Mon Jun  4 10:26:45 2007
@@ -149,7 +149,6 @@
 
     var img = itemObj.getElementsByTagName('img')[0];
     var des = itemObj.getElementsByTagName("div")[0];
-    //.nextSibling;
 
     if (des.style.display == "none") {
         des.style.display = "block";
@@ -167,6 +166,7 @@
 {
 
     this.setHeader("Service Editor");
+    this.cfg.setProperty("y", 100);
 
     //Creating primary div for the tabs
     var nav_div = document.createElement("div");
@@ -187,15 +187,8 @@
         content: '<div id="source_contents" class="sectionContent"></div>'
     }));
 
-
-    YAHOO.util.Event.onContentReady('doc', function() {
-        tabView.appendTo(this);
-        /* append to #doc */
-    });
-
-    processXML(xmlServiceOperationDetails, URL + "/xslt/MashupEditor.xsl", document.getElementById("design_contents"), true);
-
-    this.cfg.setProperty("y", 100);
+    
+    wso2.wsf.Util.processXML(xmlServiceOperationDetails, URL + "/xslt/MashupEditor.xsl", document.getElementById("design_contents"), true);
 
     wso2.mashup.editable.init();
 };

Modified: trunk/mashup/java/modules/www/js/wso2/mashup-widget-helper.js
==============================================================================
--- trunk/mashup/java/modules/www/js/wso2/mashup-widget-helper.js	(original)
+++ trunk/mashup/java/modules/www/js/wso2/mashup-widget-helper.js	Mon Jun  4 10:26:45 2007
@@ -163,7 +163,7 @@
     mashupsListItem.setHeader(mashupActionHolder);
     mashupsListItem.render("mashuplist-box");
 
-    processXML(xmlBodyContent, URL + "/xslt/MashupServiceList.xsl", document.getElementById(mashupActionHolder.id), true);
+    wso2.wsf.Util.processXML(xmlBodyContent, URL + "/xslt/MashupServiceList.xsl", document.getElementById(mashupActionHolder.id), true);
 };
 
 WSO2.MashupUtils.clearMashupList = function() {




More information about the Mashup-dev mailing list