[isidorus-cvs] r874 - 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 12:59:43 UTC 2011


Author: lgiessmann
Date: Mon Sep 12 05:59:41 2011
New Revision: 874

Log:
gdl-frontend: Widgets: fixed some error messages

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/DeleteCallback.java
   branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/isidorus/IsidorusConstants.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 05:47:59 2011	(r873)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/isidorus/CommitCallback.java	Mon Sep 12 05:59:41 2011	(r874)
@@ -193,7 +193,7 @@
 		@Override
 		public void onResponseReceived(Request request, Response response) {
 			if (200 == response.getStatusCode()) {
-				Window.alert("commit operation of the object " + this.objectToBeSend + " successed");
+				Window.alert("commit operation of the object " + this.objectToBeSend + " succeeded");
 				this.sender.resetCarriers();
 				// TODO: reset the web page
 			} else {
@@ -225,7 +225,7 @@
 		@Override
 		public void onResponseReceived(Request request, Response response) {
 			if (200 == response.getStatusCode()) {
-				Window.alert("commit operation of the object " + this.objectToBeSend + " successed");
+				Window.alert("commit operation of the object " + this.objectToBeSend + " succeeded");
 				// TODO: reset the web page
 			} else {
 				Window.alert("commit operation of the object " + this.objectToBeSend + " failed: " + response.getStatusCode() + "(" + response.getStatusText() + ")\n" + response.getText());
@@ -284,7 +284,7 @@
 						Window.alert("could not commit the topic: " + this.objectToBeSend + ", because(" + e.getClass() + "): " + e.getMessage());
 					}
 				} else {
-					Window.alert("commit operation of the object " + this.objectToBeSend + " successed");
+					Window.alert("commit operation of the object " + this.objectToBeSend + " succeeded");
 					// TODO: reset the web page
 				}
 			} else {

Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/isidorus/DeleteCallback.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/isidorus/DeleteCallback.java	Mon Sep 12 05:47:59 2011	(r873)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/isidorus/DeleteCallback.java	Mon Sep 12 05:59:41 2011	(r874)
@@ -82,7 +82,7 @@
 		@Override
 		public void onResponseReceived(Request request, Response response) {
 			if (200 == response.getStatusCode()) {
-				Window.alert("delete operation of the object " + this.objectToBeSend + " successed");
+				Window.alert("delete operation of the object " + this.objectToBeSend + " succeeded");
 				// TODO: reset the web page
 			} else {
 				Window.alert("delete operation of the object " + this.objectToBeSend + " failed: " + response.getStatusCode() + "(" + response.getStatusText() + ")\n" + response.getText());

Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/isidorus/IsidorusConstants.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/isidorus/IsidorusConstants.java	Mon Sep 12 05:47:59 2011	(r873)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/isidorus/IsidorusConstants.java	Mon Sep 12 05:59:41 2011	(r874)
@@ -1,7 +1,6 @@
 package us.isidor.gdl.anaToMia.Widgets.isidorus;
 
 
-import com.google.gwt.core.client.GWT;
 import com.google.gwt.user.client.Window;
 
 
@@ -9,6 +8,6 @@
 	public final static String DELETE_REQUEST_URL = Window.Location.getProtocol() + "//" + Window.Location.getHost() + "/gdl/delete";
 	public final static String COMMIT_REQUEST_URL = Window.Location.getProtocol() + "//" + Window.Location.getHost() + "/gdl/commit";
 	public final static String GET_FRAGMENT_REQUEST_URL = Window.Location.getProtocol() + "//" + Window.Location.getHost() + "/gdl/fragment/";
-	//public final static String GET_SCHEMA_REQUEST_URL = Window.Location.getProtocol() + "//" + Window.Location.getHost() + "/gdl/schema";
-	public final static String GET_SCHEMA_REQUEST_URL = GWT.getModuleBaseURL() + "TextGrid_ServiceRegistry_required_TMCL_and_GDL_Schema_with_test_data.jtm";
+	public final static String GET_SCHEMA_REQUEST_URL = Window.Location.getProtocol() + "//" + Window.Location.getHost() + "/gdl/schema";
+	//public final static String GET_SCHEMA_REQUEST_URL = GWT.getModuleBaseURL() + "TextGrid_ServiceRegistry_required_TMCL_and_GDL_Schema_with_test_data.jtm";
 }




More information about the Isidorus-cvs mailing list