Author: ruwan
Date: Thu Apr 17 22:47:36 2008
New Revision: 15776
Log:
Fixing the issue, ESBJAVA-443. Now if the name of the cloned medaitor is blank
console wont allow you to clone that service
Modified:
trunk/esb/java/modules/distribution/src/main/www/extensions/core/js/proxyservices.js
Modified:
trunk/esb/java/modules/distribution/src/main/www/extensions/core/js/proxyservices.js
==============================================================================
---
trunk/esb/java/modules/distribution/src/main/www/extensions/core/js/proxyservices.js
(original)
+++
trunk/esb/java/modules/distribution/src/main/www/extensions/core/js/proxyservices.js
Thu Apr 17 22:47:36 2008
@@ -534,6 +534,11 @@
internalmodel.proxyname = document.getElementById("proxyname").value;
internalmodel.proxy.setAttribute("name",
document.getElementById("proxyname").value);
+ if (internalmodel.proxyname == undefined || internalmodel.proxyname == "")
{
+ esbwarning("Proxy Service must have a non blank name", TYPE_WARN);
+ return;
+ }
+
if (type == 1) {
addproxysave();
} else {
_______________________________________________
Esb-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev