[isidorus-cvs] r866 - branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/isidorus

lgiessmann at common-lisp.net lgiessmann at common-lisp.net
Mon Sep 12 08:09:21 UTC 2011


Author: lgiessmann
Date: Mon Sep 12 01:09:20 2011
New Revision: 866

Log:
gdl-frontend: Widgets: fixed a bug in the commit request of created frgments: http-get => http-post

Modified:
   branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/isidorus/CommitCallback.java

Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/isidorus/CommitCallback.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/isidorus/CommitCallback.java	Mon Sep 12 00:53:29 2011	(r865)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/isidorus/CommitCallback.java	Mon Sep 12 01:09:20 2011	(r866)
@@ -90,7 +90,7 @@
 		}
 		
 		String url = URL.encode(this.COMMIT_REQUEST_URL);
-		RequestBuilder builder = new RequestBuilder(RequestBuilder.GET, url);
+		RequestBuilder builder = new RequestBuilder(RequestBuilder.POST, url);
 		try{
 			// a check for an existing environment topic is not necessary,
 			// since it would be exactly the same topic.
@@ -162,7 +162,7 @@
 			String getUrl = URL.encode(this.GET_REQUEST_URL);
 			RequestBuilder commitBuilder = new RequestBuilder(RequestBuilder.POST, commitUrl);
 			commitBuilder.setHeader("Content-type", "application/json");
-			RequestBuilder getBuilder = new RequestBuilder(RequestBuilder.GET, getUrl);
+			RequestBuilder getBuilder = new RequestBuilder(RequestBuilder.POST, getUrl);
 			try{
 				Window.alert(jtm); //TODO: remove
 				




More information about the Isidorus-cvs mailing list