[isidorus-cvs] r839 - in branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets: base isidorus
lgiessmann at common-lisp.net
lgiessmann at common-lisp.net
Wed Sep 7 08:57:37 UTC 2011
Author: lgiessmann
Date: Wed Sep 7 01:57:37 2011
New Revision: 839
Log:
gdl-frontend: Widgets: added the correct URLs for isidorus
Modified:
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TestClass.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/base/TestClass.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TestClass.java Wed Sep 7 01:25:11 2011 (r838)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TestClass.java Wed Sep 7 01:57:37 2011 (r839)
@@ -63,6 +63,8 @@
});
mainPanel.add(requestButton);
+
+ Window.alert(">> " + Window.Location.getHost());
}catch(Exception e){
e.printStackTrace();
Window.alert(">> e >> " + e.getClass() + " >> " + e.getMessage());
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 Wed Sep 7 01:25:11 2011 (r838)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/isidorus/IsidorusConstants.java Wed Sep 7 01:57:37 2011 (r839)
@@ -1,9 +1,10 @@
package us.isidor.gdl.anaToMia.Widgets.isidorus;
+import com.google.gwt.user.client.Window;
+
public class IsidorusConstants {
- // TODO: set the actual values
- public final static String DELETE_REUQEST_URL = "";
- public final static String COMMIT_REQUEST_URL = "";
- public final static String GET_FRAGMENT_REQUEST_URL = "";
- public final static String GET_SCHEMA_REQUEST_URL = "TextGrid_ServiceRegistry_required_TMCL_and_GDL_Schema_with_test_data.jtm";
+ public final static String DELETE_REUQEST_URL = Window.Location.getHost() + "/gdl/delete";
+ public final static String COMMIT_REQUEST_URL = Window.Location.getHost() + "/gdl/commit";
+ public final static String GET_FRAGMENT_REQUEST_URL = Window.Location.getHost() + "/gdl/fragment/";
+ public final static String GET_SCHEMA_REQUEST_URL = Window.Location.getHost() + "/gdl/schema"; //"TextGrid_ServiceRegistry_required_TMCL_and_GDL_Schema_with_test_data.jtm";
}
More information about the Isidorus-cvs
mailing list