[esb-java-dev] svn commit r175 -
esb/java/trunk/modules/distribution/src/main/www/extensions/core/js
svn at wso2.com
svn at wso2.com
Tue Dec 5 02:51:44 PST 2006
Author: ruwan
Date: Tue Dec 5 02:51:44 2006
New Revision: 175
Modified:
esb/java/trunk/modules/distribution/src/main/www/extensions/core/js/endpoints.js
Log:
fixing the endpoint address can not be blank bug
Modified: esb/java/trunk/modules/distribution/src/main/www/extensions/core/js/endpoints.js
==============================================================================
--- esb/java/trunk/modules/distribution/src/main/www/extensions/core/js/endpoints.js (original)
+++ esb/java/trunk/modules/distribution/src/main/www/extensions/core/js/endpoints.js Tue Dec 5 02:51:44 2006
@@ -93,6 +93,10 @@
alert("Please specify a name for the Endpoint");
return;
}
+ if(document.getElementById("endpointAddress").value == "") {
+ alert("Please specify an address for the Endpoint " + document.getElementById("endpointName").value);
+ return;
+ }
var body_xml = '<ns1:addEndpoint xmlns:ns1="http://org.apache.synapse/xsd" xmlns:ns2="' + SYNAPSE_NS + '">' +
'<ns2:endpoint name="' + document.getElementById("endpointName").value + '" ' +
'address="' + document.getElementById("endpointAddress").value + '">';
More information about the Esb-java-dev
mailing list