changeset 3546:12245d1386bb

fix issue63 flys-client/trunk@5359 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Tue, 04 Sep 2012 13:55:20 +0000
parents 04977c883369
children 8a16ff3b9a7f
files flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/client/ui/LinkSelection.java
diffstat 2 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/flys-client/ChangeLog	Tue Sep 04 13:15:54 2012 +0000
+++ b/flys-client/ChangeLog	Tue Sep 04 13:55:20 2012 +0000
@@ -1,3 +1,10 @@
+2012-09-04	Felix Wolfsteller	<felix.wolfsteller@intevation.de>
+
+	Fix for issue63.
+
+	* src/main/java/de/intevation/flys/client/client/ui/LinkSelection.java:
+	  Place map image in helper section.
+
 2012-09-04	Björn Ricks	<bjoern.ricks@intevation.de>
 
 	* src/main/java/de/intevation/flys/client/server/auth/plain/Authenticator.java:
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/LinkSelection.java	Tue Sep 04 13:15:54 2012 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/LinkSelection.java	Tue Sep 04 13:55:20 2012 +0000
@@ -4,6 +4,7 @@
 
 import com.smartgwt.client.types.VerticalAlignment;
 import com.smartgwt.client.widgets.Canvas;
+import com.smartgwt.client.widgets.Img;
 import com.smartgwt.client.widgets.Label;
 import com.smartgwt.client.widgets.form.DynamicForm;
 import com.smartgwt.client.widgets.form.fields.LinkItem;
@@ -157,6 +158,10 @@
         }
         layout.setAlign(VerticalAlignment.TOP);
 
+        String baseUrl = GWT.getHostPageBaseURL();
+        Img map = new Img(baseUrl + messages.riverMap(), 400, 452);
+        helperContainer.addMember(map);
+
         return layout;
     }
 

http://dive4elements.wald.intevation.org