diff flys-client/src/main/java/de/intevation/flys/client/client/ui/ThemePanel.java @ 1425:bc06a671ef60

Removed the URL parameter from service calls. The service implementations read the URL from the web.xml config file now. flys-client/trunk@3367 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Raimund Renkert <raimund.renkert@intevation.de>
date Thu, 08 Dec 2011 09:12:27 +0000
parents 25be27e33b77
children 6bb6d43eeb2d
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/ThemePanel.java	Thu Dec 08 08:06:11 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/ThemePanel.java	Thu Dec 08 09:12:27 2011 +0000
@@ -261,7 +261,6 @@
      */
     public void updateCollection() {
         final Config config = Config.getInstance();
-        final String url    = config.getServerUrl();
         final String loc    = config.getLocale();
 
         GWT.log("ThemePanel.updateCollection via RPC now");
@@ -269,7 +268,7 @@
         // don't forget to enable the panel after the request has finished!
         disable();
 
-        updater.update(collection, url, loc, new AsyncCallback<Collection>() {
+        updater.update(collection, loc, new AsyncCallback<Collection>() {
             public void onFailure(Throwable caught) {
                 GWT.log("Could not update collection attributes.");
                 SC.warn(MSG.getString(caught.getMessage()));
@@ -570,7 +569,6 @@
 
     protected void openStyleEditor(final FacetRecord record) {
         Config config = Config.getInstance();
-        String url    = config.getServerUrl();
         String locale = config.getLocale();
 
         String artifact = record.getTheme().getArtifact();
@@ -578,7 +576,6 @@
         itemAttributeService.getCollectionItemAttribute(
             this.collection,
             artifact,
-            url,
             locale,
             new AsyncCallback<CollectionItemAttribute>() {
                 public void onFailure (Throwable caught) {

http://dive4elements.wald.intevation.org