Author: lgiessmann Date: Tue Sep 27 04:01:41 2011 New Revision: 994
Log: gdl-frontend: Widgets: fixed a bug in the request that gets all psis
Modified: trunk/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/isidorus/GdlWebPage.java
Modified: trunk/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/isidorus/GdlWebPage.java ============================================================================== --- trunk/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/isidorus/GdlWebPage.java Tue Sep 27 01:58:23 2011 (r993) +++ trunk/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/isidorus/GdlWebPage.java Tue Sep 27 04:01:41 2011 (r994) @@ -133,16 +133,18 @@ String postData = null; if(IsidorusConstants.HASH_OBJECT_PSI.equals(GdlWebPage.this.topicTypePsi)){ url = URL.encode(IsidorusConstants.GET_HASH_OBJECT_PSIS_URL); - postData = "PREFIX pref:http://textgrid.org/serviceregistry/model/types\n" + + postData = "PREFIX types:http://textgrid.org/serviceregistry/model/types/\n" + + "PREFIX model:http://textgrid.org/serviceregistry/model/\n" + "SELECT ?topics WHERE {\n" + - "?topics a pref:Hash-Object.\n" + + "?topics a types:Hash-Object.\n" + + "?topics model:hash-type "confserver".\n" + "}"; } else if(IsidorusConstants.ENVIRONMENT_PSI.equals(GdlWebPage.this.topicTypePsi)){ url = URL.encode(IsidorusConstants.GET_ENVIRONMENT_PSIS_URL); - postData = "PREFIX pref:http://textgrid.org/serviceregistry/model/types\n" + + postData = "PREFIX types:http://textgrid.org/serviceregistry/model/types/\n" + "SELECT ?topics WHERE {\n" + - "?topics a pref:Environment.\n" + + "?topics a types:Environment.\n" + "}"; } else{