# HG changeset patch # User Tim Englich # Date 1275640349 0 # Node ID 96db238fc5ab70ef0d5bd3f85abdc4d310829f96 # Parent cfea6dacd52ae23b137e986d1e1592c80135ce64 Fixed bug that the 'Add Layer'-Button was not correctly displayed if a new WMS-Capabilities-Document was loaded. gnv/trunk@1155 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r cfea6dacd52a -r 96db238fc5ab gnv/ChangeLog --- a/gnv/ChangeLog Fri Jun 04 06:13:41 2010 +0000 +++ b/gnv/ChangeLog Fri Jun 04 08:32:29 2010 +0000 @@ -1,3 +1,12 @@ +2010-06-04 Tim Englich + + * src/main/webapp/WEB-INF/jsp/includes/display_map_inc.jsp, + /src/main/webapp/scripts/olutils.js: + Fixed bug that the "Add Layer"-Button was not correctly displayed if a + new WMS-Capabilities-Document was loaded. + Also improved the GUI that it is now Possible to load a WMS with a lot of + layer which could not be displayed in the GUI without uisng a scrollbar. + 2010-06-04 Ingo Weinzierl Issue275 @@ -25,7 +34,7 @@ Checkin of changes which are necessary for the checkin of Revision 1139. * src/main/java/de/intevation/gnv/action/sessionmodel/SessionModel.java (selectArtifactFactory), - * src/main/java/de/intevation/gnv/action/sessionmodel/DefaultSessionModel.java (selectedArtifactFactory): + src/main/java/de/intevation/gnv/action/sessionmodel/DefaultSessionModel.java (selectedArtifactFactory): Added functions for getting and setting a Mapservice to the SessionModel. * src/main/java/de/intevation/gnv/action/WMSAction.java : diff -r cfea6dacd52a -r 96db238fc5ab gnv/src/main/webapp/WEB-INF/jsp/includes/display_map_inc.jsp --- a/gnv/src/main/webapp/WEB-INF/jsp/includes/display_map_inc.jsp Fri Jun 04 06:13:41 2010 +0000 +++ b/gnv/src/main/webapp/WEB-INF/jsp/includes/display_map_inc.jsp Fri Jun 04 08:32:29 2010 +0000 @@ -1,6 +1,6 @@ -
+
-
+
diff -r cfea6dacd52a -r 96db238fc5ab gnv/src/main/webapp/scripts/olutils.js --- a/gnv/src/main/webapp/scripts/olutils.js Fri Jun 04 06:13:41 2010 +0000 +++ b/gnv/src/main/webapp/scripts/olutils.js Fri Jun 04 08:32:29 2010 +0000 @@ -133,9 +133,9 @@ collapsible: false, split: false, border: true, - height: 440, - //autoHeight: true, don't use autoHeight, because the component doesn't - //take care on the 'addLayer' button at the bottom + // TODO: autoHeight might cause trouble + autoHeight: true, + overflow: 'auto', store: store, cm: new Ext.grid.ColumnModel([ {