[Carbon-dev] svn commit r33040 - trunk/carbon-components/data-services/org.wso2.carbon.dataservices.ui/src/main/resources/web/ds

kalpanie at wso2.com kalpanie at wso2.com
Tue Mar 31 22:02:57 PDT 2009


Author: kalpanie
Date: Tue Mar 31 22:02:57 2009
New Revision: 33040
URL: http://wso2.org/svn/browse/wso2?view=rev&revision=33040

Log:
edit query out mappings from main configuration window

Modified:
   trunk/carbon-components/data-services/org.wso2.carbon.dataservices.ui/src/main/resources/web/ds/OutputMappingProcessor.jsp

Modified: trunk/carbon-components/data-services/org.wso2.carbon.dataservices.ui/src/main/resources/web/ds/OutputMappingProcessor.jsp
URL: http://wso2.org/svn/browse/wso2/trunk/carbon-components/data-services/org.wso2.carbon.dataservices.ui/src/main/resources/web/ds/OutputMappingProcessor.jsp?rev=33040&r1=33039&r2=33040&view=diff
==============================================================================
--- trunk/carbon-components/data-services/org.wso2.carbon.dataservices.ui/src/main/resources/web/ds/OutputMappingProcessor.jsp	(original)
+++ trunk/carbon-components/data-services/org.wso2.carbon.dataservices.ui/src/main/resources/web/ds/OutputMappingProcessor.jsp	Tue Mar 31 22:02:57 2009
@@ -127,8 +127,10 @@
                                 }
                             }
                             if (add) {
-                                if (editMappingType.equals("query") && flag.equals("edit")) {
-                                    res.removeCallQuery(edit);
+                                if(!edit.equals("")){                                   
+                                    if (editMappingType.equals("query") && !edit.equals("delete")) {
+                                        res.removeCallQuery(edit);
+                                    }
                                 }
                                 callQuery.setHref(selectedQuery);
                                 Param[] params = query.getParams();



More information about the Carbon-dev mailing list