# HG changeset patch # User Ingo Weinzierl # Date 1266938810 0 # Node ID 3f7bbc6dc7514c4c7891838b0d9827743548ea0b # Parent f2ba58011a2da625652e36f4fad6e9e09c1d1c10 Sourced JavaScript script tags for loading and rendering an OpenLayers client out to an own jsp page. gnv/trunk@701 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r f2ba58011a2d -r 3f7bbc6dc751 gnv/ChangeLog --- a/gnv/ChangeLog Tue Feb 23 10:36:02 2010 +0000 +++ b/gnv/ChangeLog Tue Feb 23 15:26:50 2010 +0000 @@ -1,3 +1,16 @@ +2010-02-23 Ingo Weinzierl + + * src/main/webapp/WEB-INF/config/struts-config.xml: Foward to wmslayout.jsp + instead of mainlayout.jsp if the user selected wms target. + + * src/main/webapp/WEB-INF/jsp/wmslayout.jsp: New page for rendering a wms + client (OpenLayers). JavaScript loading take place in this page. If the + user select the wms target, a forward to this page will be done. + + * src/main/webapp/WEB-INF/jsp/mainlayout.jsp: Removed OpenLayers JavaScript + library and function to initialize OpenLayers. This reduces traffic while + parameterization. + 2010-02-23 Ingo Weinzierl * src/main/java/de/intevation/gnv/action/CreateChartAction.java: Class to diff -r f2ba58011a2d -r 3f7bbc6dc751 gnv/src/main/webapp/WEB-INF/config/struts-config.xml --- a/gnv/src/main/webapp/WEB-INF/config/struts-config.xml Tue Feb 23 10:36:02 2010 +0000 +++ b/gnv/src/main/webapp/WEB-INF/config/struts-config.xml Tue Feb 23 15:26:50 2010 +0000 @@ -99,7 +99,7 @@ validate="false"> + path="/WEB-INF/jsp/wmslayout.jsp"/> diff -r f2ba58011a2d -r 3f7bbc6dc751 gnv/src/main/webapp/WEB-INF/jsp/mainlayout.jsp --- a/gnv/src/main/webapp/WEB-INF/jsp/mainlayout.jsp Tue Feb 23 10:36:02 2010 +0000 +++ b/gnv/src/main/webapp/WEB-INF/jsp/mainlayout.jsp Tue Feb 23 15:26:50 2010 +0000 @@ -43,55 +43,9 @@ "-1.5763 58.3616))"; } - - - +
diff -r f2ba58011a2d -r 3f7bbc6dc751 gnv/src/main/webapp/WEB-INF/jsp/wmslayout.jsp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gnv/src/main/webapp/WEB-INF/jsp/wmslayout.jsp Tue Feb 23 15:26:50 2010 +0000 @@ -0,0 +1,81 @@ + +<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %> + + + + <bean:message key="gnviewer.app.title"/> + + + + + + + + + + + + + + + +
+
+
+

+ +

+
+
+
+ + + +
+ +