Author: keith
Date: Mon Dec 10 06:40:54 2007
New Revision: 10858

Log:

Fixing DELETE method



Modified:
   trunk/mashup/java/modules/samples/RESTSample/RESTSample.js

Modified: trunk/mashup/java/modules/samples/RESTSample/RESTSample.js
==============================================================================
--- trunk/mashup/java/modules/samples/RESTSample/RESTSample.js  (original)
+++ trunk/mashup/java/modules/samples/RESTSample/RESTSample.js  Mon Dec 10 
06:40:54 2007
@@ -51,7 +51,7 @@
 if (details == null) {
    throw ("Cannot find weather details of city " + city + " to update.")
 }
-session.put(city ,"removed");
+session.remove(city);
 return city;
 }
 

_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev

Reply via email to