Author: azeez
Date: Thu May 29 10:08:18 2008
New Revision: 17609
URL: http://wso2.org/svn/browse/wso2?view=rev&revision=17609

Log:
Need to show the home



Modified:
   branches/wsas/java/2.3/commons/adminui/www/js/main.js

Modified: branches/wsas/java/2.3/commons/adminui/www/js/main.js
URL: 
http://wso2.org/svn/browse/wso2/branches/wsas/java/2.3/commons/adminui/www/js/main.js?rev=17609&r1=17608&r2=17609&view=diff
==============================================================================
--- branches/wsas/java/2.3/commons/adminui/www/js/main.js       (original)
+++ branches/wsas/java/2.3/commons/adminui/www/js/main.js       Thu May 29 
10:08:18 2008
@@ -1030,6 +1030,7 @@
     document.getElementById("navigation_general").style.display = "none";
     document.getElementById("navigation_logged_in").style.display = "inline";
     document.getElementById("content").style.display = "inline";
+    showHomeMenu();
 }
 
 /*private*/
@@ -1037,6 +1038,15 @@
     wso2.wsf.Util.alertWarning("Login failed. Please recheck the user name and 
password and try again.");
 }
 
+/*public*/
+function registerProduct() {
+    var bodyXML = ' <ns1:getServerData 
xmlns:ns1="http://org.apache.axis2/xsd"/>';
+
+    var callURL = serverURL + "/" + SERVER_ADMIN_STRING ;
+    new wso2.wsf.WSRequest(callURL, "urn:getServerData", bodyXML, 
registerProductCallback);
+}
+
+
 wso2.wsf.Util.login["callback"] = function() {
     var isLogInDone = 
this.req.responseXML.getElementsByTagName("return")[0].firstChild.nodeValue;
     if (isLogInDone != "true") {

_______________________________________________
Wsas-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/wsas-java-dev

Reply via email to